We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8feddbe commit f2c5e3dCopy full SHA for f2c5e3d
1 file changed
app/components/token/ResponseSettingsCard.vue
@@ -84,7 +84,10 @@ const responseBody = ref('')
84
const isFormInitialized = ref(false)
85
86
const statusSummary = computed(() => {
87
- const statusLabel = responseStatus.value?.trim().length ? responseStatus.value : '200'
+ let statusLabel = '200';
88
+ if (!responseStatus.value) {
89
+ statusLabel = responseStatus.value?.trim().length ? responseStatus.value : '200'
90
+ }
91
return responseEnabled.value ? `Custom response enabled · ${statusLabel}` : 'Custom responses disabled'
92
})
93
0 commit comments