Skip to content

Commit c8dd712

Browse files
committed
add validation
1 parent 555937b commit c8dd712

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/views/playground/WidgetConfig/Index.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -640,6 +640,7 @@ export default {
640640
if (!this.widgetConfigTemp.onChainId.selectedOnChainKYCconfiguration) {
641641
throw new Error('Kindly select a onchain configuration')
642642
}
643+
this.widgetConfigTemp.onChainId.selectedOnChainKYCconfiguration = this.widgetConfigTemp.onChainId.selectedOnChainKYCconfiguration.filter(e => e != null)
643644
644645
if (!this.widgetConfigTemp.zkProof.enabled) {
645646
throw new Error('Enable ZK Proof to enable onchainId')

0 commit comments

Comments
 (0)