1
0
mirror of https://github.com/nolanlawson/pinafore synced 2025-02-09 07:58:43 +01:00

15 lines
365 B
JavaScript
Raw Normal View History

2018-03-03 13:23:26 -08:00
import PostPrivacyDialog from './PostPrivacyDialog.html'
2018-03-31 18:46:44 -07:00
import { createDialogElement } from './createDialogElement'
2018-03-03 13:23:26 -08:00
export function showPostPrivacyDialog (realm) {
let dialog = new PostPrivacyDialog({
2018-03-31 18:46:44 -07:00
target: createDialogElement(),
2018-03-03 13:23:26 -08:00
data: {
label: 'Post privacy dialog',
title: 'Post privacy',
realm: realm
}
})
dialog.show()
}