diff --git a/app/web/src/components/ActionWidget.vue b/app/web/src/components/ActionWidget.vue index d8ea4efc3a..900a4707f5 100644 --- a/app/web/src/components/ActionWidget.vue +++ b/app/web/src/components/ActionWidget.vue @@ -9,7 +9,7 @@ " @click="clickHandler" > - +
{{ action?.displayName }}
{{ component?.displayName }}
@@ -29,9 +29,10 @@ import * as _ from "lodash-es"; import clsx from "clsx"; import { PropType, computed } from "vue"; -import { Icon, IconNames, Stack } from "@si/vue-lib/design-system"; +import { Icon, Stack } from "@si/vue-lib/design-system"; import { ActionPrototypeId, useActionsStore } from "@/store/actions.store"; import { ComponentId, useComponentsStore } from "@/store/components.store"; +import StatusIndicatorIcon from "./StatusIndicatorIcon.vue"; const props = defineProps({ componentId: { type: String as PropType, required: true }, @@ -57,15 +58,6 @@ const action = computed(() => { const isActive = computed(() => !!action.value?.actionInstanceId); -const iconName = computed(() => { - if (!action.value) return "help-circle"; - if (action.value.name === "create") return "resource-create"; - if (action.value.name === "delete") return "resource-delete"; - if (action.value.name.trim() === "refresh") return "resource-refresh"; - if (action.value.name === "other") return "resource-question"; - return "help-circle"; -}); - function clickHandler() { if (!action.value) return; if (action.value.actionInstanceId) { diff --git a/app/web/src/components/AssetActionsDetails.vue b/app/web/src/components/AssetActionsDetails.vue index 6b349f713c..c7bec76112 100644 --- a/app/web/src/components/AssetActionsDetails.vue +++ b/app/web/src/components/AssetActionsDetails.vue @@ -13,8 +13,9 @@
- Actions will be enacted upon click of the - APPLY CHANGES button in the right rail. + Actions will be enacted after this change set has been applied. To + do so, deselect this component and click the "Apply Changes" button + in the top right.