Skip to content

Commit

Permalink
TipRecord: Remove shouldRender computed variable
Browse files Browse the repository at this point in the history
  • Loading branch information
davidyuk committed Jul 14, 2020
1 parent 1998e00 commit 740d9b0
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/components/tipRecords/TipRecord.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<template>
<div
v-if="shouldRender"
:key="key"
class="tip__record row"
@click="goToTip(tip.id)"
Expand Down Expand Up @@ -182,9 +181,6 @@ export default {
},
computed: {
...mapState(['account', 'pinnedItems']),
shouldRender() {
return !this.tip.url.includes('/comment/');
},
tipPreviewDescription() {
if (!this.isPreviewToBeVisualized(this.tip)) return '';
Expand Down

1 comment on commit 740d9b0

@mradkov
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.