From 70239035f5259d47c735d0c6a0ebe25cbd766d92 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Arsenije=20Savi=C4=87?= Date: Mon, 21 Oct 2024 09:23:00 -0600 Subject: [PATCH] fix(proposal): error when publishing badge proposal --- src/store/proposals/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/store/proposals/index.js b/src/store/proposals/index.js index 8849c9308..9e4934321 100644 --- a/src/store/proposals/index.js +++ b/src/store/proposals/index.js @@ -797,7 +797,7 @@ export default { { label: 'content_group_label', value: ['string', 'details'] }, { label: 'title', value: ['string', draft.title] }, { label: 'description', value: ['string', draft.description] }, - { label: 'url', value: ['string', draft.url] }, + { label: 'url', value: ['string', draft.url || ''] }, { label: 'icon', value: ['string', draft.icon] }, { label: 'voice_coefficient_x10000', value: ['int64', parseFloat(draft.voiceCoefficient.value)] }, { label: 'reward_coefficient_x10000', value: ['int64', parseFloat(draft.rewardCoefficient.value)] },