2018-04-08 16:56:20 -07:00
|
|
|
import AccountProfileOptionsDialog from '../components/AccountProfileOptionsDialog.html'
|
|
|
|
import { createDialogElement } from '../helpers/createDialogElement'
|
|
|
|
import { createDialogId } from '../helpers/createDialogId'
|
2018-04-04 21:45:19 -07:00
|
|
|
|
2018-04-21 09:56:53 -07:00
|
|
|
export default function showAccountProfileOptionsDialog (account, relationship, verifyCredentials) {
|
2018-04-04 21:45:19 -07:00
|
|
|
let dialog = new AccountProfileOptionsDialog({
|
|
|
|
target: createDialogElement(),
|
|
|
|
data: {
|
2018-04-08 16:56:20 -07:00
|
|
|
id: createDialogId(),
|
2018-04-04 21:45:19 -07:00
|
|
|
label: 'Profile options dialog',
|
|
|
|
title: '',
|
2018-04-14 18:47:55 -07:00
|
|
|
account: account,
|
2018-04-14 22:18:48 -07:00
|
|
|
relationship: relationship,
|
|
|
|
verifyCredentials: verifyCredentials
|
2018-04-04 21:45:19 -07:00
|
|
|
}
|
|
|
|
})
|
|
|
|
dialog.show()
|
|
|
|
}
|