15 lines
386 B
JavaScript
15 lines
386 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: 'Status options',
|
|
statusId: statusId
|
|
}
|
|
})
|
|
dialog.show()
|
|
}
|