refactor: move service administration into settings

This commit is contained in:
Developer
2026-07-14 15:47:54 +00:00
parent a9488af0b4
commit 70511d97f9
5 changed files with 73 additions and 21 deletions
+6 -3
View File
@@ -183,7 +183,7 @@ function ServiceSecretFields({
);
}
function CreateServiceDialog({
export function CreateServiceDialog({
open,
onClose,
}: {
@@ -339,7 +339,10 @@ function CreateServiceDialog({
) : null}
{draft ? (
<DialogFooter
onCancel={reset}
onCancel={() => {
reset();
onClose();
}}
onConfirm={save}
confirmLabel="Create service"
confirmDisabled={
@@ -354,7 +357,7 @@ function CreateServiceDialog({
// --- Named dashboards management (Slice 10.3) ---
function DashboardManagementCard() {
export function DashboardManagementCard() {
const { data: dashboards = [] } = useDashboards();
const saveDashboard = useSaveDashboard();
const deleteDashboard = useDeleteDashboard();