avoid collision with a keyword
This commit is contained in:
parent
9060977790
commit
c87abc9eb7
4 changed files with 6 additions and 7 deletions
|
|
@ -202,7 +202,7 @@ export default {
|
||||||
'styleDataUsed',
|
'styleDataUsed',
|
||||||
'layoutType',
|
'layoutType',
|
||||||
]),
|
]),
|
||||||
...mapState(useInstanceStore, ['styleDataUsed', 'private']),
|
...mapState(useInstanceStore, ['styleDataUsed']),
|
||||||
...mapState(useInstanceCapabilitiesStore, [
|
...mapState(useInstanceCapabilitiesStore, [
|
||||||
'suggestionsEnabled',
|
'suggestionsEnabled',
|
||||||
'editingAvailable',
|
'editingAvailable',
|
||||||
|
|
|
||||||
|
|
@ -16,7 +16,6 @@ export const ListsMenuContent = {
|
||||||
...mapPiniaState(useListsStore, {
|
...mapPiniaState(useListsStore, {
|
||||||
lists: getListEntries,
|
lists: getListEntries,
|
||||||
}),
|
}),
|
||||||
...mapPiniaState(useInstanceStore, ['private', 'federating']),
|
|
||||||
...mapState({
|
...mapState({
|
||||||
currentUser: (state) => state.users.currentUser,
|
currentUser: (state) => state.users.currentUser,
|
||||||
}),
|
}),
|
||||||
|
|
|
||||||
|
|
@ -74,7 +74,7 @@ const NavPanel = {
|
||||||
pinnedItems: (store) =>
|
pinnedItems: (store) =>
|
||||||
new Set(store.prefsStorage.collections.pinnedNavItems),
|
new Set(store.prefsStorage.collections.pinnedNavItems),
|
||||||
}),
|
}),
|
||||||
...mapPiniaState(useInstanceStore, ['private', 'federating']),
|
...mapPiniaState(useInstanceStore, ['privateMode', 'federating']),
|
||||||
...mapPiniaState(useInstanceCapabilitiesStore, [
|
...mapPiniaState(useInstanceCapabilitiesStore, [
|
||||||
'pleromaChatMessagesAvailable',
|
'pleromaChatMessagesAvailable',
|
||||||
'localBubble',
|
'localBubble',
|
||||||
|
|
@ -95,7 +95,7 @@ const NavPanel = {
|
||||||
hasChats: this.pleromaChatMessagesAvailable,
|
hasChats: this.pleromaChatMessagesAvailable,
|
||||||
hasAnnouncements: this.supportsAnnouncements,
|
hasAnnouncements: this.supportsAnnouncements,
|
||||||
isFederating: this.federating,
|
isFederating: this.federating,
|
||||||
isPrivate: this.private,
|
isPrivate: this.privateMode,
|
||||||
currentUser: this.currentUser,
|
currentUser: this.currentUser,
|
||||||
supportsBubbleTimeline: this.localBubble,
|
supportsBubbleTimeline: this.localBubble,
|
||||||
supportsBookmarkFolders: this.bookmarks,
|
supportsBookmarkFolders: this.bookmarks,
|
||||||
|
|
@ -119,7 +119,7 @@ const NavPanel = {
|
||||||
supportsBubbleTimeline: this.localBubble,
|
supportsBubbleTimeline: this.localBubble,
|
||||||
supportsBookmarkFolders: this.bookmarks,
|
supportsBookmarkFolders: this.bookmarks,
|
||||||
isFederating: this.federating,
|
isFederating: this.federating,
|
||||||
isPrivate: this.private,
|
isPrivate: this.privateMode,
|
||||||
currentUser: this.currentUser,
|
currentUser: this.currentUser,
|
||||||
},
|
},
|
||||||
).slice(0, this.limit)
|
).slice(0, this.limit)
|
||||||
|
|
|
||||||
|
|
@ -68,7 +68,7 @@ const TimelineMenu = {
|
||||||
'bookmarkFolders',
|
'bookmarkFolders',
|
||||||
'localBubble',
|
'localBubble',
|
||||||
]),
|
]),
|
||||||
...mapPiniaState(useInstanceStore, ['private', 'federating']),
|
...mapPiniaState(useInstanceStore, ['privateMode', 'federating']),
|
||||||
...mapState({
|
...mapState({
|
||||||
currentUser: (state) => state.users.currentUser,
|
currentUser: (state) => state.users.currentUser,
|
||||||
}),
|
}),
|
||||||
|
|
@ -78,7 +78,7 @@ const TimelineMenu = {
|
||||||
{
|
{
|
||||||
hasChats: this.pleromaChatMessagesAvailable,
|
hasChats: this.pleromaChatMessagesAvailable,
|
||||||
isFederating: this.federating,
|
isFederating: this.federating,
|
||||||
isPrivate: this.private,
|
isPrivate: this.privateMode,
|
||||||
currentUser: this.currentUser,
|
currentUser: this.currentUser,
|
||||||
supportsBookmarkFolders: this.pleromaBookmarkFoldersAvailable,
|
supportsBookmarkFolders: this.pleromaBookmarkFoldersAvailable,
|
||||||
supportsBubbleTimeline: this.localBubble,
|
supportsBubbleTimeline: this.localBubble,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue