Skip to content
This repository has been archived by the owner on Feb 24, 2024. It is now read-only.

Commit

Permalink
feat: finish validator
Browse files Browse the repository at this point in the history
  • Loading branch information
neko-para committed Aug 15, 2023
1 parent bae5387 commit c7a584e
Show file tree
Hide file tree
Showing 6 changed files with 568 additions and 415 deletions.
2 changes: 2 additions & 0 deletions packages/client/src/components/task/SingleNavigateEdit.vue
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,9 @@ const options = computed(() => {
<template>
<div class="flex gap-2 w-full">
<NButton
secondary
:disabled="!(value in taskIndex)"
:type="value in taskIndex ? 'default' : 'error'"
@click="navigate(taskIndex[value])"
>
<template #icon>
Expand Down
2 changes: 1 addition & 1 deletion packages/client/src/components/task/TargetEdit.vue
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ const marks = {
</div>
<SingleNavigateEdit
v-if="state === 2"
value="(target as string)"
:value="target as string"
@update:value="
v => {
target = v
Expand Down
Loading

0 comments on commit c7a584e

Please sign in to comment.