refactor: move service administration into settings
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user