diff --git a/src/views/ConfigurationActionsView.vue b/src/views/ConfigurationActionsView.vue index 4100b5e1f..ca3ce2ea9 100644 --- a/src/views/ConfigurationActionsView.vue +++ b/src/views/ConfigurationActionsView.vue @@ -12,7 +12,7 @@

View, manage, and create HTTP request actions.

@@ -55,6 +55,7 @@ @click="openActionEditDialog(item.id)" /> - + {{ editMode ? 'Edit action' : 'Create new action' @@ -199,7 +202,7 @@ Cancel
Reset - + {{ editMode ? 'Save' : 'Create' }}
@@ -368,6 +371,8 @@ const headerDialog = ref({ error: '', }) +const windowOpacity = ref(1) + const paramValueOptions = computed(() => { const options = [{ title: 'Fixed (specify below)', value: 'fixed' }] const availableInputParameters = getAllCockpitActionVariablesInfo() @@ -472,6 +477,7 @@ const isValidHeaders = (headers: Record): { isValid: boolean; er } const openUrlParamDialog = (): void => { + windowOpacity.value = 0 urlParamDialog.value = { show: true, key: '', @@ -482,6 +488,7 @@ const openUrlParamDialog = (): void => { const closeUrlParamDialog = (): void => { urlParamDialog.value.show = false + windowOpacity.value = 1 } const addUrlParameter = (): void => { @@ -492,6 +499,7 @@ const addUrlParameter = (): void => { } const openJsonDialog = (): void => { + windowOpacity.value = 0 bodyDialog.value = { show: true, bodyText: newActionConfig.value.body, @@ -501,6 +509,7 @@ const openJsonDialog = (): void => { } const closeJsonDialog = (): void => { + windowOpacity.value = 1 bodyDialog.value.show = false } @@ -516,6 +525,7 @@ const removeUrlParam = (key: string): void => { } const openHeaderDialog = (): void => { + windowOpacity.value = 0 headerDialog.value = { show: true, key: '', @@ -525,6 +535,7 @@ const openHeaderDialog = (): void => { } const closeHeaderDialog = (): void => { + windowOpacity.value = 1 headerDialog.value.show = false headerDialog.value.error = '' }