kopia lustrzana https://github.com/nextcloud/social
Do not load lastPostType to early
Signed-off-by: Louis Chemineau <louis@chmn.me>pull/1719/head
rodzic
fd5a04b202
commit
9aaa59f22a
|
@ -169,13 +169,13 @@ export default {
|
|||
},
|
||||
defaultVisibility: {
|
||||
type: String,
|
||||
default: localStorage.getItem('social.lastPostType') || 'followers',
|
||||
default: undefined,
|
||||
},
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
statusContent: '',
|
||||
visibility: this.defaultVisibility,
|
||||
visibility: this.defaultVisibility || localStorage.getItem('social.lastPostType') || 'followers',
|
||||
loading: false,
|
||||
/** @type {Object<string, LocalAttachment>} */
|
||||
attachments: {},
|
||||
|
|
Ładowanie…
Reference in New Issue