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

7 lines
128 B
JavaScript

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