Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: send empty labels with proposals #4906

Merged
merged 2 commits into from
Oct 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading