pinafore/routes/_components/dialog/showStatusOptionsDialog.js
2018-03-11 19:40:32 -07:00

14 lines
344 B
JavaScript

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