diff --git a/client/src/components/Workflow/Run/OnCompleteActions.vue b/client/src/components/Workflow/Run/OnCompleteActions.vue index f25fede3c24..b59cc425bbc 100644 --- a/client/src/components/Workflow/Run/OnCompleteActions.vue +++ b/client/src/components/Workflow/Run/OnCompleteActions.vue @@ -2,6 +2,7 @@ import { BButton, BFormCheckbox, BFormGroup, BModal } from "bootstrap-vue"; import { computed, reactive, ref, watch } from "vue"; +import { useConfig } from "@/composables/config"; import { useFileSources } from "@/composables/fileSources"; import ExportOnCompleteWizard from "./ExportOnCompleteWizard.vue"; @@ -30,8 +31,13 @@ const emit = defineEmits<{ (e: "input", value: OnCompleteAction[]): void; }>(); +const { config, isConfigLoaded } = useConfig(true); const { hasWritable: hasWritableFileSources } = useFileSources({ exclude: ["rdm"] }); +const notificationSystemEnabled = computed( + () => isConfigLoaded.value && config.value?.enable_notification_system === true, +); + const showExportWizard = ref(false); const state = reactive({ @@ -116,7 +122,7 @@ const exportSummary = computed(() => {