From c866b9d41c3018b047bd09a5ca214197c2fc9c24 Mon Sep 17 00:00:00 2001 From: portikM Date: Thu, 16 May 2024 14:03:24 -0400 Subject: [PATCH 1/2] fix(*): replace kicon instances [KHCP-11982] --- .../app-layout/sandbox/pages/PageHeaderPage.vue | 15 ++++----------- .../fields/advanced/FieldObjectAdvanced.vue | 9 +++++---- .../src/components/RouteFormMethodsFields.vue | 3 ++- .../components/RoutingRulesEntitiesControls.vue | 10 +++------- .../sandbox/pages/EntityFormSectionPage.vue | 3 ++- .../entity-base-table/EntityBaseTable.vue | 9 ++------- .../components/UpstreamsFormActiveHealthCheck.vue | 8 +++----- .../entities-vaults/src/components/VaultForm.vue | 6 +++--- .../OperationsListSectionHeader.vue | 1 - 9 files changed, 24 insertions(+), 40 deletions(-) diff --git a/packages/core/app-layout/sandbox/pages/PageHeaderPage.vue b/packages/core/app-layout/sandbox/pages/PageHeaderPage.vue index 567f2ade87..a0eddd8e5f 100644 --- a/packages/core/app-layout/sandbox/pages/PageHeaderPage.vue +++ b/packages/core/app-layout/sandbox/pages/PageHeaderPage.vue @@ -8,12 +8,7 @@ diff --git a/packages/entities/entities-shared/src/components/entity-base-table/EntityBaseTable.vue b/packages/entities/entities-shared/src/components/entity-base-table/EntityBaseTable.vue index 4434f677d4..c049d1aaab 100644 --- a/packages/entities/entities-shared/src/components/entity-base-table/EntityBaseTable.vue +++ b/packages/entities/entities-shared/src/components/entity-base-table/EntityBaseTable.vue @@ -81,6 +81,7 @@ :width="dropdownMenuWidth" > diff --git a/packages/entities/entities-upstreams-targets/src/components/UpstreamsFormActiveHealthCheck.vue b/packages/entities/entities-upstreams-targets/src/components/UpstreamsFormActiveHealthCheck.vue index 63f00ec61c..f75fdad61d 100644 --- a/packages/entities/entities-upstreams-targets/src/components/UpstreamsFormActiveHealthCheck.vue +++ b/packages/entities/entities-upstreams-targets/src/components/UpstreamsFormActiveHealthCheck.vue @@ -116,11 +116,13 @@ appearance="tertiary" class="btn-remove" data-testid="btn-remove-header" + :disabled="localHeaders.length === 1" @click="removeHeader(i)" > @@ -132,9 +134,7 @@ @click="addHeader" > @@ -304,6 +304,7 @@ import type { MultiselectItem, SelectItem } from '@kong/kongponents' import useHelpers from '../composables/useHelpers' import links from '../links' import { AddIcon, TrashIcon } from '@kong/icons' +import { KUI_COLOR_TEXT_DANGER } from '@kong/design-tokens' const { i18n: { t } } = composables.useI18n() const { objectsAreEqual } = useHelpers() diff --git a/packages/entities/entities-vaults/src/components/VaultForm.vue b/packages/entities/entities-vaults/src/components/VaultForm.vue index 780fb55f10..9545d2826c 100644 --- a/packages/entities/entities-vaults/src/components/VaultForm.vue +++ b/packages/entities/entities-vaults/src/components/VaultForm.vue @@ -561,6 +561,7 @@ import { import { useRouter } from 'vue-router' import type { AxiosError, AxiosResponse } from 'axios' import endpoints from '../vaults-endpoints' +import { KongIcon } from '@kong/icons' import { KUI_ICON_SIZE_80 } from '@kong/design-tokens' interface ConfigFields {