Skip to content

Commit

Permalink
fix: send empty labels with proposals (#4906)
Browse files Browse the repository at this point in the history
* fix: send empty labels with proposals

* fix choices height
  • Loading branch information
ChaituVR authored Oct 7, 2024
1 parent 7320dcc commit b4166c3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/SpaceCreateVoting.vue
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ defineEmits<{
</template>
<template #info>
<span
class="hidden text-xs text-skin-text group-focus-within:block"
class="hidden text-xs text-skin-text whitespace-nowrap group-focus-within:block"
>
{{ `${element.text.length}/32` }}
</span>
Expand Down
2 changes: 2 additions & 0 deletions src/composables/useClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ export function useClient() {
body: payload.body,
discussion: payload.discussion,
choices: payload.choices,
labels: [],
start: payload.start,
end: payload.end,
snapshot: payload.snapshot,
Expand All @@ -67,6 +68,7 @@ export function useClient() {
body: payload.body,
discussion: payload.discussion,
choices: payload.choices,
labels: [],
plugins: JSON.stringify(plugins)
});
} else if (type === 'vote') {
Expand Down

0 comments on commit b4166c3

Please sign in to comment.