From 327fe1aaaa068eaecd66b4a1bdcad64e73c6c146 Mon Sep 17 00:00:00 2001 From: shamoon <4887959+shamoon@users.noreply.github.com> Date: Mon, 16 Sep 2024 11:23:46 -0700 Subject: [PATCH] Move them --- src-ui/messages.xlf | 16 ++++++++-------- .../components/manage/mail/mail.component.html | 8 +++++--- .../manage/workflows/workflows.component.html | 8 +++++--- .../manage/workflows/workflows.component.spec.ts | 4 ++-- 4 files changed, 20 insertions(+), 16 deletions(-) diff --git a/src-ui/messages.xlf b/src-ui/messages.xlf index 35bbdf21b..0e29a681e 100644 --- a/src-ui/messages.xlf +++ b/src-ui/messages.xlf @@ -726,7 +726,7 @@ src/app/components/manage/mail/mail.component.html - 108 + 110 src/app/components/manage/management-list/management-list.component.html @@ -1096,7 +1096,7 @@ src/app/components/manage/mail/mail.component.html - 88 + 85 src/app/components/manage/management-list/management-list.component.html @@ -1493,7 +1493,7 @@ src/app/components/manage/mail/mail.component.html - 91 + 88 src/app/components/manage/management-list/management-list.component.html @@ -1549,7 +1549,7 @@ src/app/components/manage/workflows/workflows.component.html - 41 + 38 @@ -7448,18 +7448,18 @@ Clone src/app/components/manage/mail/mail.component.html - 85 + 93 src/app/components/manage/workflows/workflows.component.html - 38 + 43 No mail rules defined. src/app/components/manage/mail/mail.component.html - 99 + 101 @@ -7832,7 +7832,7 @@ No workflows defined. src/app/components/manage/workflows/workflows.component.html - 49 + 51 diff --git a/src-ui/src/app/components/manage/mail/mail.component.html b/src-ui/src/app/components/manage/mail/mail.component.html index e29a16490..22d5d9f4b 100644 --- a/src-ui/src/app/components/manage/mail/mail.component.html +++ b/src-ui/src/app/components/manage/mail/mail.component.html @@ -81,9 +81,6 @@ - @@ -91,6 +88,11 @@  Delete +
+ +
diff --git a/src-ui/src/app/components/manage/workflows/workflows.component.html b/src-ui/src/app/components/manage/workflows/workflows.component.html index c16ffc861..13e8e992b 100644 --- a/src-ui/src/app/components/manage/workflows/workflows.component.html +++ b/src-ui/src/app/components/manage/workflows/workflows.component.html @@ -34,13 +34,15 @@ - +
+ +
diff --git a/src-ui/src/app/components/manage/workflows/workflows.component.spec.ts b/src-ui/src/app/components/manage/workflows/workflows.component.spec.ts index 5fdf691d7..26b25021f 100644 --- a/src-ui/src/app/components/manage/workflows/workflows.component.spec.ts +++ b/src-ui/src/app/components/manage/workflows/workflows.component.spec.ts @@ -178,7 +178,7 @@ describe('WorkflowsComponent', () => { let modal: NgbModalRef modalService.activeInstances.subscribe((m) => (modal = m[m.length - 1])) - const cloneButton = fixture.debugElement.queryAll(By.css('button'))[4] + const cloneButton = fixture.debugElement.queryAll(By.css('button'))[5] cloneButton.triggerEventHandler('click') expect(modal).not.toBeUndefined() @@ -194,7 +194,7 @@ describe('WorkflowsComponent', () => { const deleteSpy = jest.spyOn(workflowService, 'delete') const reloadSpy = jest.spyOn(component, 'reload') - const deleteButton = fixture.debugElement.queryAll(By.css('button'))[5] + const deleteButton = fixture.debugElement.queryAll(By.css('button'))[4] deleteButton.triggerEventHandler('click') expect(modal).not.toBeUndefined()