button.vue: use null as default for props.to
Some checks failed
ci/woodpecker/push/lint-backend Pipeline was successful
ci/woodpecker/push/build Pipeline was successful
ci/woodpecker/push/lint-client Pipeline failed
ci/woodpecker/pr/lint-backend Pipeline was successful
ci/woodpecker/pr/build Pipeline was successful
ci/woodpecker/pr/lint-client Pipeline failed
ci/woodpecker/push/test Pipeline failed
ci/woodpecker/pr/test Pipeline failed
Some checks failed
ci/woodpecker/push/lint-backend Pipeline was successful
ci/woodpecker/push/build Pipeline was successful
ci/woodpecker/push/lint-client Pipeline failed
ci/woodpecker/pr/lint-backend Pipeline was successful
ci/woodpecker/pr/build Pipeline was successful
ci/woodpecker/pr/lint-client Pipeline failed
ci/woodpecker/push/test Pipeline failed
ci/woodpecker/pr/test Pipeline failed
This commit is contained in:
parent
af3b39df5f
commit
fd565f842c
1 changed files with 2 additions and 3 deletions
|
@ -35,9 +35,7 @@ const props = withDefaults(defineProps<{
|
|||
rounded?: boolean;
|
||||
inline?: boolean;
|
||||
link?: boolean;
|
||||
// to should only be defined when link is true
|
||||
// eslint-disable-next-line vue/require-default-prop
|
||||
to?: string;
|
||||
to?: string | null;
|
||||
autofocus?: boolean;
|
||||
wait?: boolean;
|
||||
danger?: boolean;
|
||||
|
@ -48,6 +46,7 @@ const props = withDefaults(defineProps<{
|
|||
gradate: false,
|
||||
rounded: false,
|
||||
inline: false,
|
||||
to: null,
|
||||
link: false,
|
||||
autofocus: false,
|
||||
wait: false,
|
||||
|
|
Loading…
Reference in a new issue