Skip to content

Commit

Permalink
fix: linter errors
Browse files Browse the repository at this point in the history
  • Loading branch information
pbek committed May 24, 2024
1 parent f321ebb commit 16279ac
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions src/components/feed-display/FeedItemDisplayList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,12 @@
</NcActions>
</div>
<div class="feed-item-display-container">
<button v-shortkey="['k']" @shortkey="jumpToPreviousItem" class="hidden">Prev</button>
<button v-shortkey="['j']" @shortkey="jumpToNextItem" class="hidden">Next</button>
<button v-shortkey="['k']" class="hidden" @shortkey="jumpToPreviousItem">
Prev
</button>
<button v-shortkey="['j']" class="hidden" @shortkey="jumpToNextItem">
Next
</button>
<VirtualScroll :reached-end="reachedEnd"
:fetch-key="fetchKey"
@load-more="fetchMore()">
Expand Down Expand Up @@ -62,7 +66,7 @@ import VirtualScroll from './VirtualScroll.vue'
import FeedItemRow from './FeedItemRow.vue'
import { FeedItem } from '../../types/FeedItem'
import {ACTIONS, MUTATIONS} from '../../store'
import { MUTATIONS } from '../../store'
const DEFAULT_DISPLAY_LIST_CONFIG = {
starFilter: true,
Expand Down Expand Up @@ -194,7 +198,7 @@ export default Vue.extend({
if (currentIndex > 0) {
const previousItem = this.allItems[currentIndex - 1]
console.log('previousItem', previousItem)

Check warning on line 200 in src/components/feed-display/FeedItemDisplayList.vue

View workflow job for this annotation

GitHub Actions / eslint node

Unexpected console statement

Check warning on line 200 in src/components/feed-display/FeedItemDisplayList.vue

View workflow job for this annotation

GitHub Actions / eslint

Unexpected console statement
this.$store.commit(MUTATIONS.SET_SELECTED_ITEM, {id: previousItem.id})
this.$store.commit(MUTATIONS.SET_SELECTED_ITEM, { id: previousItem.id })
// this.$store.dispatch(ACTIONS.MARK_READ, { previousItem })
}
},
Expand Down

0 comments on commit 16279ac

Please sign in to comment.