From 03a2f71aad937cb59daff03b2c835a0403f58bf8 Mon Sep 17 00:00:00 2001 From: Mathieu Imfeld Date: Sat, 30 Dec 2023 11:28:29 +0100 Subject: [PATCH] Fixed some linting complaints --- src/frontend/src/components/IdentityDialog.vue | 2 ++ src/frontend/src/components/ImageDialog.vue | 2 ++ src/frontend/src/components/InstanceCard.vue | 5 ++++- src/frontend/src/views/Identities.vue | 4 ++-- src/frontend/src/views/Images-Grid.vue | 5 ++--- src/frontend/src/views/Images.vue | 2 +- src/frontend/src/views/Instances.vue | 4 +--- src/frontend/src/views/Networks.vue | 4 +--- 8 files changed, 15 insertions(+), 13 deletions(-) diff --git a/src/frontend/src/components/IdentityDialog.vue b/src/frontend/src/components/IdentityDialog.vue index 981ad28..20094e2 100644 --- a/src/frontend/src/components/IdentityDialog.vue +++ b/src/frontend/src/components/IdentityDialog.vue @@ -18,6 +18,7 @@ const title = computed( () => { case DialogKind.create: return 'Create Identity' case DialogKind.modify: return 'Modify Identity' case DialogKind.remove: return 'Remove Identity' + default: return 'OK' } }) const acceptLabel = computed( () => { @@ -25,6 +26,7 @@ const acceptLabel = computed( () => { case DialogKind.create: return 'Save' case DialogKind.modify: return 'Modify' case DialogKind.remove: return 'Remove' + default: return 'OK' } }) const legalIdentityKinds = computed(() => [ diff --git a/src/frontend/src/components/ImageDialog.vue b/src/frontend/src/components/ImageDialog.vue index e3274f3..5b99552 100644 --- a/src/frontend/src/components/ImageDialog.vue +++ b/src/frontend/src/components/ImageDialog.vue @@ -19,6 +19,7 @@ const title = computed( () => { case DialogKind.create: return 'Create Image' case DialogKind.modify: return 'Modify Image' case DialogKind.remove: return 'Remove Image' + default: return 'OK' } }) const acceptLabel = computed( () => { @@ -26,6 +27,7 @@ const acceptLabel = computed( () => { case DialogKind.create: return 'Save' case DialogKind.modify: return 'Modify' case DialogKind.remove: return 'Remove' + default: return 'OK' } }) diff --git a/src/frontend/src/components/InstanceCard.vue b/src/frontend/src/components/InstanceCard.vue index 6e9c65d..6496d7a 100644 --- a/src/frontend/src/components/InstanceCard.vue +++ b/src/frontend/src/components/InstanceCard.vue @@ -16,7 +16,10 @@ let expand = ref()
- + + + +
diff --git a/src/frontend/src/views/Identities.vue b/src/frontend/src/views/Identities.vue index 73e8088..9ef438e 100644 --- a/src/frontend/src/views/Identities.vue +++ b/src/frontend/src/views/Identities.vue @@ -98,10 +98,10 @@ onMounted( () => { -