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