From dfa010f91814a19bfcdceac9398ee006f0d84da0 Mon Sep 17 00:00:00 2001 From: Kevin Ansfield Date: Fri, 9 Sep 2022 17:58:30 +0100 Subject: [PATCH] Removed unused leave-settings modal refs https://github.com/TryGhost/Team/issues/1734 refs https://github.com/TryGhost/Team/issues/559 - all uses of the old-style modal have been removed so it's no longer needed --- .../app/components/modal-leave-settings.hbs | 17 ----------------- .../app/components/modal-leave-settings.js | 14 -------------- 2 files changed, 31 deletions(-) delete mode 100644 ghost/admin/app/components/modal-leave-settings.hbs delete mode 100644 ghost/admin/app/components/modal-leave-settings.js diff --git a/ghost/admin/app/components/modal-leave-settings.hbs b/ghost/admin/app/components/modal-leave-settings.hbs deleted file mode 100644 index 0edbb0b018..0000000000 --- a/ghost/admin/app/components/modal-leave-settings.hbs +++ /dev/null @@ -1,17 +0,0 @@ - -{{svg-jar "close"}} - - - - diff --git a/ghost/admin/app/components/modal-leave-settings.js b/ghost/admin/app/components/modal-leave-settings.js deleted file mode 100644 index 29d4733a73..0000000000 --- a/ghost/admin/app/components/modal-leave-settings.js +++ /dev/null @@ -1,14 +0,0 @@ -import ModalComponent from 'ghost-admin/components/modal-base'; -import RSVP from 'rsvp'; - -export default ModalComponent.extend({ - actions: { - confirm() { - this.confirm(); - this.send('closeModal'); - } - }, - - // Allowed actions - confirm: () => RSVP.resolve() -});