pinafore/routes/_components/dialog/showPostPrivacyDialog.js
2018-03-31 18:46:44 -07:00

15 lines
365 B
JavaScript

import PostPrivacyDialog from './PostPrivacyDialog.html'
import { createDialogElement } from './createDialogElement'
export function showPostPrivacyDialog (realm) {
let dialog = new PostPrivacyDialog({
target: createDialogElement(),
data: {
label: 'Post privacy dialog',
title: 'Post privacy',
realm: realm
}
})
dialog.show()
}