1
0
mirror of https://github.com/nolanlawson/pinafore synced 2025-02-10 16:30:36 +01:00

15 lines
386 B
JavaScript
Raw Normal View History

2018-03-11 19:40:32 -07:00
import StatusOptionsDialog from './StatusOptionsDialog.html'
2018-03-31 18:46:44 -07:00
import { createDialogElement } from './createDialogElement'
2018-03-11 19:40:32 -07:00
export function showStatusOptionsDialog (statusId) {
let dialog = new StatusOptionsDialog({
2018-03-31 18:46:44 -07:00
target: createDialogElement(),
2018-03-11 19:40:32 -07:00
data: {
label: 'Status options dialog',
title: 'Status options',
statusId: statusId
}
})
dialog.show()
}