pinafore/routes/_components/dialog/showAccountProfileOptionsDialog.js
2018-04-04 21:45:19 -07:00

15 lines
402 B
JavaScript

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()
}