Skip to content

Commit

Permalink
chore: set default value
Browse files Browse the repository at this point in the history
Signed-off-by: yuda <[email protected]>
  • Loading branch information
yuda110 committed Dec 11, 2024
1 parent cf69579 commit 8d3afa6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,9 @@ const evalState = reactive({
});
const addLabelsState = reactive({
labels: [] as AdditionalLabel[],
labels: [{
name: '', value: '',
}] as AdditionalLabel[],
});
const originState = reactive({
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ const handleRemoveLabel = (idx: number) => {
/>
<p-icon-button name="ic_delete"
size="sm"
:disabled="state.proxyLabels.length === 1"
@click="handleRemoveLabel(idx)"
/>
</div>
Expand Down

0 comments on commit 8d3afa6

Please sign in to comment.