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

7 lines
128 B
JavaScript

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