2018-04-09 01:56:20 +02:00
|
|
|
import AccountProfileOptionsDialog from '../components/AccountProfileOptionsDialog.html'
|
|
|
|
import { createDialogElement } from '../helpers/createDialogElement'
|
|
|
|
import { createDialogId } from '../helpers/createDialogId'
|
2018-04-05 06:45:19 +02:00
|
|
|
|
2018-04-15 07:18:48 +02:00
|
|
|
export function showAccountProfileOptionsDialog (account, relationship, verifyCredentials) {
|
2018-04-05 06:45:19 +02:00
|
|
|
let dialog = new AccountProfileOptionsDialog({
|
|
|
|
target: createDialogElement(),
|
|
|
|
data: {
|
2018-04-09 01:56:20 +02:00
|
|
|
id: createDialogId(),
|
2018-04-05 06:45:19 +02:00
|
|
|
label: 'Profile options dialog',
|
|
|
|
title: '',
|
2018-04-15 03:47:55 +02:00
|
|
|
account: account,
|
2018-04-15 07:18:48 +02:00
|
|
|
relationship: relationship,
|
|
|
|
verifyCredentials: verifyCredentials
|
2018-04-05 06:45:19 +02:00
|
|
|
}
|
|
|
|
})
|
|
|
|
dialog.show()
|
|
|
|
}
|