pinafore/routes/_components/dialog/showAccountProfileOptionsDialog.js

15 lines
402 B
JavaScript
Raw Normal View History

2018-04-05 04:45:19 +00:00
import AccountProfileOptionsDialog from './AccountProfileOptionsDialog.html'
import { createDialogElement } from './createDialogElement'
export function showAccountProfileOptionsDialog (account) {
let dialog = new AccountProfileOptionsDialog({
target: createDialogElement(),
data: {
label: 'Profile options dialog',
title: '',
account: account
}
})
dialog.show()
}