limit amount of pins on desktop to 6 (for now)

このコミットが含まれているのは:
Henry Jameson 2022-08-12 01:26:19 +03:00
コミット 7d13f38d88
2個のファイルの変更3行の追加2行の削除

ファイルの表示

@ -5,7 +5,7 @@
v-if="!forceExpand"
class="panel-heading"
>
<NavigationPins />
<NavigationPins :limit="6" />
<div class="spacer"/>
<button
class="button-unstyled"

ファイルの表示

@ -28,6 +28,7 @@ library.add(
faList
)
const NavPanel = {
props: ['limit'],
computed: {
getters () {
return this.$store.getters
@ -67,7 +68,7 @@ const NavPanel = {
isPrivate: this.privateMode,
currentUser: this.currentUser
}
)
).slice(0, this.limit)
}
}
}