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

7 wiersze
130 B
JavaScript

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