-
-
- {{ message }}
-
-
+
-
-
diff --git a/src/main/webapp/app/main.ts b/src/main/webapp/app/main.ts
index 8a8d52e3af..a6a71a133a 100644
--- a/src/main/webapp/app/main.ts
+++ b/src/main/webapp/app/main.ts
@@ -7,9 +7,6 @@ import ConsoleLogger from '@/common/secondary/ConsoleLogger';
import { MittAlertBus } from '@/common/secondary/alert/MittAlertBus';
import mitt from 'mitt';
-import 'bootstrap/dist/css/bootstrap.min.css';
-import 'bootstrap-icons/font/bootstrap-icons.css';
-import 'bootstrap';
import '../content/css/custom.css';
import { MittAlertListener } from '@/common/secondary/alert/MittAlertListener';
import { RestModulesRepository } from './module/secondary/RestModulesRepository';
diff --git a/src/main/webapp/app/module/primary/landscape/Landscape.component.ts b/src/main/webapp/app/module/primary/landscape/Landscape.component.ts
index 80c01f3034..16b3b6c39c 100644
--- a/src/main/webapp/app/module/primary/landscape/Landscape.component.ts
+++ b/src/main/webapp/app/module/primary/landscape/Landscape.component.ts
@@ -20,10 +20,11 @@ import { empty } from '../PropertyValue';
import { ModuleParameterType } from '@/module/domain/ModuleParameters';
import { ModuleParameter } from '@/module/domain/ModuleParameter';
import { Landscape } from '@/module/domain/landscape/Landscape';
+import { IconVue } from '@/common/primary/icon';
export default defineComponent({
name: 'LandscapeVue',
- components: { LandscapeModuleVue, ModulePropertiesFormVue, ProjectActionsVue },
+ components: { LandscapeModuleVue, ModulePropertiesFormVue, ProjectActionsVue, IconVue },
setup() {
const alertBus = inject('alertBus') as AlertBus;
const modules = inject('modules') as ModulesRepository;
diff --git a/src/main/webapp/app/module/primary/landscape/Landscape.html b/src/main/webapp/app/module/primary/landscape/Landscape.html
index d978bd892a..f45ad5625a 100644
--- a/src/main/webapp/app/module/primary/landscape/Landscape.html
+++ b/src/main/webapp/app/module/primary/landscape/Landscape.html
@@ -35,12 +35,13 @@
diff --git a/src/main/webapp/app/module/primary/project-actions/ProjectActions.component.ts b/src/main/webapp/app/module/primary/project-actions/ProjectActions.component.ts
index 3a7df7ab36..f362033b8c 100644
--- a/src/main/webapp/app/module/primary/project-actions/ProjectActions.component.ts
+++ b/src/main/webapp/app/module/primary/project-actions/ProjectActions.component.ts
@@ -2,9 +2,13 @@ import { AlertBus } from '@/common/domain/alert/AlertBus';
import { ModulesRepository } from '@/module/domain/ModulesRepository';
import { Project } from '@/module/domain/Project';
import { defineComponent, inject, ref } from 'vue';
+import { IconVue } from '@/common/primary/icon';
export default defineComponent({
name: 'ProjectActionsVue',
+ components: {
+ IconVue,
+ },
props: {
folderPath: {
type: String,
diff --git a/src/main/webapp/app/module/primary/project-actions/ProjectActions.html b/src/main/webapp/app/module/primary/project-actions/ProjectActions.html
index aa8b6392e7..7d8826ac26 100644
--- a/src/main/webapp/app/module/primary/project-actions/ProjectActions.html
+++ b/src/main/webapp/app/module/primary/project-actions/ProjectActions.html
@@ -1,19 +1,21 @@
diff --git a/src/test/javascript/spec/common/primary/toast/Toast.spec.ts b/src/test/javascript/spec/common/primary/toast/Toast.spec.ts
index 98843e4c6f..a39f4933df 100644
--- a/src/test/javascript/spec/common/primary/toast/Toast.spec.ts
+++ b/src/test/javascript/spec/common/primary/toast/Toast.spec.ts
@@ -56,6 +56,18 @@ describe('Toast', () => {
expect(component.type).toBe(ToastType.ERROR);
});
+ it('should hide toast on close', async () => {
+ const alertListener = stubAlertListener();
+ wrap({ alertListener });
+ const [callback] = alertListener.onSuccess.getCall(0).args;
+ callback('message');
+ await wrapper.vm.$nextTick();
+
+ await wrapper.find('[data-selector="toast.close"]').trigger('click');
+
+ expect(wrapper.find('[data-selector="toast-overlay"]').exists()).toBe(false);
+ });
+
it('should unsubscribe on before unmount', () => {
const alertListener = stubAlertListener();
const unsubscribeSuccess = sinon.stub();