Skip to content

Commit

Permalink
#2 Preserve line breaks in proposals' texts
Browse files Browse the repository at this point in the history
  • Loading branch information
scammo committed Mar 27, 2024
1 parent 1560eb3 commit 0a75639
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion frontend/src/views/orga/Proposal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ const fieldName = (name) => {
<div class="font-bold w-full">
{{ fieldName(name) || name }}:
</div>
<span>{{ value }}</span>
<span style="white-space: pre-wrap">{{ value }}</span>
</article>
</template>
</Card>
Expand Down
1 change: 0 additions & 1 deletion frontend/src/views/orga/ProposalsTrack.vue
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@ const loadPoposals = async () => {
const max_vote_count = trackUsers.value.length
let vote_status = 'vote_completed'
if (vote_count !== max_vote_count) {
console.log('proposal.opinions', proposal.opinions, user.value)
if (proposal.opinions.find(
(opinion) => +opinion.user_id === +user.value.id
)) {
Expand Down

0 comments on commit 0a75639

Please sign in to comment.