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

17 lines
480 B
JavaScript
Raw Normal View History

import StatusOptionsDialog from '../components/StatusOptionsDialog.html'
import { createDialogElement } from '../helpers/createDialogElement'
import { createDialogId } from '../helpers/createDialogId'
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: {
id: createDialogId(),
2018-03-11 19:40:32 -07:00
label: 'Status options dialog',
2018-04-04 22:28:22 -07:00
title: '',
2018-03-11 19:40:32 -07:00
statusId: statusId
}
})
dialog.show()
}