Skip to content

Commit

Permalink
chore: minor style issue (#5416)
Browse files Browse the repository at this point in the history
Signed-off-by: yuda <yuda@megazone.com>
  • Loading branch information
yuda110 authored Jan 3, 2025
1 parent 859e935 commit 77730cb
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -220,10 +220,13 @@ watch([
:invalid="validationState.dataFieldNameInvalid"
:invalid-text="validationState.dataFieldNameInvalidText"
>
<p-text-input v-model="state.proxyDataFieldName"
class="data-text-input"
placeholder="Name"
/>
<template #default="{invalid}">
<p-text-input v-model="state.proxyDataFieldName"
class="data-text-input"
:invalid="invalid"
placeholder="Name"
/>
</template>
</p-field-group>
<p-field-group :label="$t('COMMON.WIDGETS.DATA_TABLE.FORM.DATA_UNIT')">
<p-text-input v-model="state.proxyDataUnit"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ const state = reactive({
if (props.operator === 'JOIN') return { name: 'Join', icon: 'ic_join' };
if (props.operator === 'QUERY') return { name: 'Query', icon: 'ic_db-where' };
if (props.operator === 'EVAL') return { name: 'Evaluate', icon: 'ic_db-evaluation' };
if (props.operator === 'PIVOT') return { name: 'Pivot', icon: '' }; // TODO: Add icon
if (props.operator === 'VALUE_MAPPING') return { name: 'Value Mapping', icon: '' }; // TODO: Add icon
if (props.operator === 'ADD_LABELS') return { name: 'Add Labels', icon: '' }; // TODO: Add icon
if (props.operator === 'PIVOT') return { name: 'Pivot', icon: 'ic_db-pivot-table' };
if (props.operator === 'VALUE_MAPPING') return { name: 'Value Mapping', icon: 'ic_db-value-mapping' };
if (props.operator === 'ADD_LABELS') return { name: 'Additional Labels', icon: 'ic_db-additional-labels' };
return { name: '', icon: '' };
}),
});
Expand Down

0 comments on commit 77730cb

Please sign in to comment.