diff options
| author | Shpuld Shpludson <shp@cock.li> | 2020-07-05 06:15:35 +0000 |
|---|---|---|
| committer | Shpuld Shpludson <shp@cock.li> | 2020-07-05 06:15:35 +0000 |
| commit | acc3b083aa46aa9c165578380b16ef86e6fb596b (patch) | |
| tree | e0e6ae9f93ead317bd96db22253088735a2d1449 /src/components/status_popover | |
| parent | 5b8875e3d88370388653a3165cb2dd4c4fb7cde8 (diff) | |
| parent | 3a79918b89fa41f8676e7f19862e6e29abd4ea14 (diff) | |
Merge branch 'feat/parent-visible-support' into 'develop'
#874 Add strike-through to "Reply to" when parent_visible is set to false
See merge request pleroma/pleroma-fe!1162
Diffstat (limited to 'src/components/status_popover')
| -rw-r--r-- | src/components/status_popover/status_popover.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/components/status_popover/status_popover.js b/src/components/status_popover/status_popover.js index 159132a9..51e7680c 100644 --- a/src/components/status_popover/status_popover.js +++ b/src/components/status_popover/status_popover.js @@ -22,6 +22,10 @@ const StatusPopover = { methods: { enter () { if (!this.status) { + if (!this.statusId) { + this.error = true + return + } this.$store.dispatch('fetchStatus', this.statusId) .then(data => (this.error = false)) .catch(e => (this.error = true)) |
