mirror of
https://github.com/HKUDS/DeepTutor.git
synced 2026-12-02 00:50:36 +08:00
27 lines
810 B
TypeScript
27 lines
810 B
TypeScript
"use client";
|
|
|
|
import { useTranslation } from "react-i18next";
|
|
import { SettingsPageHeader } from "./shared";
|
|
import ModulesPanel from "./ModulesPanel";
|
|
import SettingsStatusPanel from "./SettingsStatusPanel";
|
|
import SettingsReadinessPanel from "./SettingsReadinessPanel";
|
|
import { useSettings } from "@/features/settings/store/SettingsStore";
|
|
|
|
export default function SettingsRuntimePage() {
|
|
const { t } = useTranslation();
|
|
const { catalogEditable } = useSettings();
|
|
return (
|
|
<div>
|
|
<SettingsPageHeader
|
|
title={t("Runtime status")}
|
|
description={t(
|
|
"Check configured services and resolve connection problems.",
|
|
)}
|
|
/>
|
|
<ModulesPanel />
|
|
<SettingsStatusPanel />
|
|
<SettingsReadinessPanel enabled={catalogEditable === true} />
|
|
</div>
|
|
);
|
|
}
|