From 7e0ad68589605d5a61aace0f78554228ec16cf85 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20La=C5=A1=C5=A1=C3=A1k?= <73712209+mlassak@users.noreply.github.com> Date: Thu, 1 Sep 2022 16:02:01 +0200 Subject: [PATCH] inverted the buttons on notebook server control panel (#472) --- backend/src/types.ts | 8 ++++---- .../notebookController/screens/server/NotebookServer.tsx | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/backend/src/types.ts b/backend/src/types.ts index d056124f1f..0db5774e0d 100644 --- a/backend/src/types.ts +++ b/backend/src/types.ts @@ -25,9 +25,9 @@ export type DashboardConfig = K8sResourceCommon & { pvcSize?: string; notebookNamespace?: string; notebookTolerationSettings?: { - enabled: boolean, - key: string - } + enabled: boolean; + key: string; + }; }; }; }; @@ -56,7 +56,7 @@ export type NotebookSize = { export type NotebookTolerationSettings = { enabled: boolean; key: string; -} +}; export type ClusterSettings = { pvcSize: number; diff --git a/frontend/src/pages/notebookController/screens/server/NotebookServer.tsx b/frontend/src/pages/notebookController/screens/server/NotebookServer.tsx index 4e495d040d..8746af4123 100644 --- a/frontend/src/pages/notebookController/screens/server/NotebookServer.tsx +++ b/frontend/src/pages/notebookController/screens/server/NotebookServer.tsx @@ -50,9 +50,6 @@ export const NotebookServer: React.FC = () => { onNotebooksStop={onNotebooksStop} /> - setNotebooksToStop([notebook])}> - - { if (notebook.metadata.annotations?.['opendatahub.io/link']) { @@ -60,7 +57,10 @@ export const NotebookServer: React.FC = () => { } }} > - + + + setNotebooksToStop([notebook])}> +