pinafore/routes/_components/dialog/showStatusOptionsDialog.js
2018-04-04 22:28:22 -07:00

15 lines
372 B
JavaScript

import StatusOptionsDialog from './StatusOptionsDialog.html'
import { createDialogElement } from './createDialogElement'
export function showStatusOptionsDialog (statusId) {
let dialog = new StatusOptionsDialog({
target: createDialogElement(),
data: {
label: 'Status options dialog',
title: '',
statusId: statusId
}
})
dialog.show()
}