Pinafore-Web-Client-Frontend/routes/_actions/postPrivacy.js

7 lines
162 B
JavaScript

import { store } from '../_store/store'
export function setPostPrivacy (realm, postPrivacyKey) {
store.setComposeData(realm, {postPrivacy: postPrivacyKey})
}