limit amount of pins on desktop to 6 (for now)
This commit is contained in:
parent
f54fcda887
commit
7d13f38d88
@ -5,7 +5,7 @@
|
|||||||
v-if="!forceExpand"
|
v-if="!forceExpand"
|
||||||
class="panel-heading"
|
class="panel-heading"
|
||||||
>
|
>
|
||||||
<NavigationPins />
|
<NavigationPins :limit="6" />
|
||||||
<div class="spacer"/>
|
<div class="spacer"/>
|
||||||
<button
|
<button
|
||||||
class="button-unstyled"
|
class="button-unstyled"
|
||||||
|
@ -28,6 +28,7 @@ library.add(
|
|||||||
faList
|
faList
|
||||||
)
|
)
|
||||||
const NavPanel = {
|
const NavPanel = {
|
||||||
|
props: ['limit'],
|
||||||
computed: {
|
computed: {
|
||||||
getters () {
|
getters () {
|
||||||
return this.$store.getters
|
return this.$store.getters
|
||||||
@ -67,7 +68,7 @@ const NavPanel = {
|
|||||||
isPrivate: this.privateMode,
|
isPrivate: this.privateMode,
|
||||||
currentUser: this.currentUser
|
currentUser: this.currentUser
|
||||||
}
|
}
|
||||||
)
|
).slice(0, this.limit)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user