pinafore/routes/_components/dialog/helpers/showDialog.js

7 lines
128 B
JavaScript
Raw Normal View History

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