Skip to content

Commit

Permalink
Merge pull request #711 from aeternity/feature/simplify-condition
Browse files Browse the repository at this point in the history
TipRecord: Simplify condition
  • Loading branch information
davidyuk authored Jul 15, 2020
2 parents f3e0852 + 740d9b0 commit b1ea876
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('https://superhero.com/tip/' && '/comment/');
},
tipPreviewDescription() {
if (!this.isPreviewToBeVisualized(this.tip)) return '';
Expand Down

1 comment on commit b1ea876

@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.