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