We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1c322fd commit 19c8368Copy full SHA for 19c8368
frontend/src/components/content_value/FormatSelector.vue
@@ -93,7 +93,7 @@ const onDecodeMenu = (key) => {
93
:icon="Code"
94
:options="formatTypeOption"
95
:tooltip="$t('interface.view_as')"
96
- :value="props.format"
+ :value="props.format || formatTypes.RAW"
97
@update:value="(f) => onFormatChanged(props.decode, f)" />
98
<n-divider vertical />
99
<dropdown-selector
@@ -103,7 +103,7 @@ const onDecodeMenu = (key) => {
103
:menu-option="decodeMenuOption"
104
:options="decodeTypeOption"
105
:tooltip="$t('interface.decode_with')"
106
- :value="props.decode"
+ :value="props.decode || decodeTypes.NONE"
107
@menu="onDecodeMenu"
108
@update:value="(d) => onFormatChanged(d, '')" />
109
</n-space>
0 commit comments