pinafore/routes/_components/dialog/helpers/closeDialog.js
2018-04-08 16:56:20 -07:00

7 lines
130 B
JavaScript

import { emit } from '../../../_utils/eventBus'
export function close () {
let id = this.get('id')
emit('closeDialog', id)
}