Skip to content

Commit 85084ec

Browse files
committed
wip
1 parent 6f8ec0f commit 85084ec

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

app/components/modals/session-notify-modal.hbs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
{{t 'Session Notify Email'}}
77
</div>
88
<div class="actions">
9-
<button type="button" class="ui green button" {{action this.notify}}>
9+
<button type="button" class="ui green button" {{action "notifySession"}}>
1010
{{t 'Notify'}}
1111
</button>
1212
<button type="button" class="ui button" {{action 'close'}}>

app/components/modals/session-notify-modal.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,9 @@ import ModalBase from 'open-event-frontend/components/modals/modal-base';
55
@classic
66
export default class SessionNotifyModal extends ModalBase {
77

8+
@action
9+
notifySession() {
10+
console.log('>>> Notify');
11+
}
12+
813
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<button class="ui icon button" {{action this.openModal}}>
1+
<button class="ui icon button" {{action "openModal"}}>
22
<i class="mail icon"></i>
33
</button>
44
<Modals::SessionNotifyModal @isOpen={{this.isModalOpen}} />

app/controllers/events/view/sessions/list.js

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -256,9 +256,4 @@ export default class extends Controller.extend(EmberTableControllerMixin) {
256256
this.set('isLoading', false);
257257
});
258258
}
259-
260-
@action
261-
async notifySession() {
262-
console.log('Notify');
263-
}
264259
}

0 commit comments

Comments
 (0)