Pinafore-Web-Client-Frontend/routes/_components/dialog/helpers/showDialog.js

7 lines
128 B
JavaScript

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