Merge branch 'fix/hide-polls-in-collapsed-posts' into 'develop'
hide poll when subject collapsed, fix #683 Closes #683 See merge request pleroma/pleroma-fe!1220
This commit is contained in:
commit
acc45b49a5
2 changed files with 7 additions and 1 deletions
|
@ -5,6 +5,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
|
||||||
|
|
||||||
## [Unreleased]
|
## [Unreleased]
|
||||||
## [Unreleased patch]
|
## [Unreleased patch]
|
||||||
|
### Changed
|
||||||
|
- Polls will be hidden with status content if "Collapse posts with subjects" is enabled and the post is collapsed.
|
||||||
|
|
||||||
## [2.1.0] - 2020-08-28
|
## [2.1.0] - 2020-08-28
|
||||||
### Added
|
### Added
|
||||||
|
|
|
@ -71,6 +71,10 @@
|
||||||
v-if="attachmentTypes.includes('unknown')"
|
v-if="attachmentTypes.includes('unknown')"
|
||||||
class="icon-doc"
|
class="icon-doc"
|
||||||
/>
|
/>
|
||||||
|
<span
|
||||||
|
v-if="status.poll && status.poll.options"
|
||||||
|
class="icon-chart-bar"
|
||||||
|
/>
|
||||||
<span
|
<span
|
||||||
v-if="status.card"
|
v-if="status.card"
|
||||||
class="icon-link"
|
class="icon-link"
|
||||||
|
@ -86,7 +90,7 @@
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div v-if="status.poll && status.poll.options">
|
<div v-if="status.poll && status.poll.options && !hideSubjectStatus">
|
||||||
<poll :base-poll="status.poll" />
|
<poll :base-poll="status.poll" />
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue