feat: use withDefaults for AddTask #2477

Merged
konrad merged 1 commits from dpschen/vikunja:feat/use-withDefaults-for-AddTask into main 2024-06-30 14:16:04 +00:00
Member
No description provided.
dpschen reviewed 2024-06-26 10:16:44 +00:00
@ -75,0 +70,4 @@
const props = withDefaults(defineProps<{
defaultPosition: number,
}>(), {
defaultPosition: undefined
Author
Member

@konrad: I was unsure about the default value here. Is this correct?

@konrad: I was unsure about the default value here. Is this correct?
Owner

Seems correct. But shouldn't the type reflect that as well?

Seems correct. But shouldn't the type reflect that as well?
Author
Member

Fixed

Fixed
dpschen marked this conversation as resolved
dpschen force-pushed feat/use-withDefaults-for-AddTask from 094ca78232 to 1aa08feac0 2024-06-29 10:20:43 +00:00 Compare
Member

Hi dpschen!

Thank you for creating a PR!

I've deployed the frontend changes of this PR on a preview environment under this URL: https://2477-feat-use-withdefaults-for-addtas--vikunja-frontend-preview.netlify.app

You can use this url to view the changes live and test them out.
You will need to manually connect this to an api running somewhere. The easiest to use is https://try.vikunja.io/.

This preview does not contain any changes made to the api, only the frontend.

Have a nice day!

Beep boop, I'm a bot.

Hi dpschen! Thank you for creating a PR! I've deployed the frontend changes of this PR on a preview environment under this URL: https://2477-feat-use-withdefaults-for-addtas--vikunja-frontend-preview.netlify.app You can use this url to view the changes live and test them out. You will need to manually connect this to an api running somewhere. The easiest to use is https://try.vikunja.io/. This preview does not contain any changes made to the api, only the frontend. Have a nice day! > Beep boop, I'm a bot.
konrad merged commit 7db9e64053 into main 2024-06-30 14:16:04 +00:00
konrad deleted branch feat/use-withDefaults-for-AddTask 2024-06-30 14:16:05 +00:00
Sign in to join this conversation.
No description provided.