wip: refactor(client): migrate components to composition api
This commit is contained in:
parent
133b5c6391
commit
689e75e10a
2 changed files with 40 additions and 49 deletions
|
|
@ -384,14 +384,14 @@ function setVisibility() {
|
|||
currentLocalOnly: localOnly,
|
||||
src: visibilityButton,
|
||||
}, {
|
||||
changeVisibility: visibility => {
|
||||
visibility = visibility;
|
||||
changeVisibility: v => {
|
||||
visibility = v;
|
||||
if (defaultStore.state.rememberNoteVisibility) {
|
||||
defaultStore.set('visibility', visibility);
|
||||
}
|
||||
},
|
||||
changeLocalOnly: localOnly => {
|
||||
localOnly = localOnly;
|
||||
changeLocalOnly: v => {
|
||||
localOnly = v;
|
||||
if (defaultStore.state.rememberNoteVisibility) {
|
||||
defaultStore.set('localOnly', localOnly);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue