1
0
mirror of https://github.com/nolanlawson/pinafore synced 2025-01-10 18:25:50 +01:00
Pinafore-Web-Client-Frontend/routes/_components/dialog/showPostPrivacyDialog.js
2018-03-03 13:23:26 -08:00

14 lines
323 B
JavaScript

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