Skip to content

Commit

Permalink
fix linting
Browse files Browse the repository at this point in the history
Signed-off-by: Devlin Junker <[email protected]>
  • Loading branch information
devlinjunker committed Jan 11, 2025
1 parent 628da88 commit 18bd3fb
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
12 changes: 8 additions & 4 deletions src/components/feed-display/FeedItemDisplay.vue
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@
<ShareItem v-if="showShareMenu" :item-id="item.id" @close="closeShareMenu()" />

<div class="action-bar">
<NcActions class='action-bar-nav' :inline="4" style="flex-grow: 1;" v-show="!hideItemNav">
<NcActions v-show="!hideItemNav"
class="action-bar-nav"
:inline="4">
<NcActionButton :title="t('news', 'Previous Item')"
@click="$root.$emit('prev-item')">
{{ t('news', 'Previous') }}
Expand Down Expand Up @@ -194,7 +196,7 @@ export default Vue.extend({
NcActionButton,
ShareItem,
ArrowLeftThickIcon,
ArrowRightThickIcon
ArrowRightThickIcon,
},
props: {
item: {
Expand All @@ -213,8 +215,8 @@ export default Vue.extend({
},
hideItemNav: {
type: Boolean,
default: false
}
default: false,
},
},
data: () => {
return {
Expand Down Expand Up @@ -409,6 +411,8 @@ export default Vue.extend({
}
.action-bar-nav {
flex-grow: 1;
@media only screen and (width > $breakpoint-mobile) {
display: none !important;
}
Expand Down
4 changes: 2 additions & 2 deletions src/components/feed-display/FeedItemDisplayList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -225,8 +225,8 @@ export default Vue.extend({
mounted() {
this.mounted = true
this.setupDebouncedClick()
this.$root.$on('next-item',this.jumpToNextItem)
this.$root.$on('prev-item',this.jumpToPreviousItem)
this.$root.$on('next-item', this.jumpToNextItem)
this.$root.$on('prev-item', this.jumpToPreviousItem)
},
methods: {
async refreshApp() {
Expand Down

0 comments on commit 18bd3fb

Please sign in to comment.