ສະແດງ​ແຕ່
0:01
S… Speaker 1 (239. Redirecting the User (after Deleting a Recipe))
So we're almost done,
0:03
S… Speaker 1 (239. Redirecting the User (after Deleting a Recipe))
but the delete button isn't entirely working as expected.
0:07
S… Speaker 1 (239. Redirecting the User (after Deleting a Recipe))
It's updating the list,
0:08
S… Speaker 1 (239. Redirecting the User (after Deleting a Recipe))
but we're staying on the page of the deleted recipe.
0:12
S… Speaker 1 (239. Redirecting the User (after Deleting a Recipe))
So to change this,
0:14
S… Speaker 1 (239. Redirecting the User (after Deleting a Recipe))
we need to go to the recipe detail component,
0:17
S… Speaker 1 (239. Redirecting the User (after Deleting a Recipe))
which again is where the delete recipe button lives.
0:20
S… Speaker 1 (239. Redirecting the User (after Deleting a Recipe))
And then on delete recipe,
0:23
S… Speaker 1 (239. Redirecting the User (after Deleting a Recipe))
we simply need to navigate away.
0:25
S… Speaker 1 (239. Redirecting the User (after Deleting a Recipe))
We already got the router injected here.
0:29
S… Speaker 1 (239. Redirecting the User (after Deleting a Recipe))
So we can simply call this router navigate.
0:34
S… Speaker 1 (239. Redirecting the User (after Deleting a Recipe))
And now I simply want to navigate to slash recipes here.
0:38
S… Speaker 1 (239. Redirecting the User (after Deleting a Recipe))
And with that,
0:40
S… Speaker 1 (239. Redirecting the User (after Deleting a Recipe))
we should have the right user experience that once this updates here,
0:44
S… Speaker 1 (239. Redirecting the User (after Deleting a Recipe))
that if I click delete here,
0:48
S… Speaker 1 (239. Redirecting the User (after Deleting a Recipe))
it does delete it and we're taken back to the main view.
0:52
S… Speaker 1 (239. Redirecting the User (after Deleting a Recipe))
So let's try this a final time
0:56
S… Speaker 1 (239. Redirecting the User (after Deleting a Recipe))
here with spaghetti.
1:00
S… Speaker 1 (239. Redirecting the User (after Deleting a Recipe))
searching for a fitting image for spaghetti let's
1:05
S… Speaker 1 (239. Redirecting the User (after Deleting a Recipe))
pick this one here and let's
1:10
S… Speaker 1 (239. Redirecting the User (after Deleting a Recipe))
insert it here and
1:14
S… Speaker 1 (239. Redirecting the User (after Deleting a Recipe))
let's finally enter a description tasty
1:18
S… Speaker 1 (239. Redirecting the User (after Deleting a Recipe))
spaghetti let's hit add ingredient to
1:23
S… Speaker 1 (239. Redirecting the User (after Deleting a Recipe))
add some spaghetti 10 let's say and let's save the form
1:28
S… Speaker 1 (239. Redirecting the User (after Deleting a Recipe))
And this all works,
1:30
S… Speaker 1 (239. Redirecting the User (after Deleting a Recipe))
but one thing is not working.
1:33
S… Speaker 1 (239. Redirecting the User (after Deleting a Recipe))
Do you see which?
1:34
S… Speaker 2 (239. Redirecting the User (after Deleting a Recipe))
The image.
1:37
S… Speaker 1 (239. Redirecting the User (after Deleting a Recipe))
We're not getting a preview of the image here.
1:40
S… Speaker 1 (239. Redirecting the User (after Deleting a Recipe))
So let's fix this in the next lecture before we finally move
1:44
S… Speaker 1 (239. Redirecting the User (after Deleting a Recipe))
on.

ບົດບັນທຶກ​ນີ້​ໄດ້​ຖືກ​ສ້າງ​ຂຶ້ນ​ໂດຍ AI (ການ​ຮັບຮູ້​ການ​ເວົ້າ​ແບບ​ອັດຕະໂນມັດ). ອາດ​ມີ​ຂໍ້ຜິດພາດ - ກວດ​ສອບ​ກັບ​ສຽງ​ຕົ້ນ​ຕໍ​ເພື່ອ​ໃຊ້​ຢ່າງ​ຮີບດ່ວນ. ນະໂຍບາຍ AI

❤️ ຮັກ STT.ai? ເວົ້າກັບເພື່ອນຂອງທ່ານ!
ສັງລວມ
ກົດ​ປຸ່ມ​ສັງລວມ ເພື່ອ​ສ້າງ​ບົດ​ສັງລວມ AI ຂອງ​ບົດ​ບັນທຶກ​ນີ້.
ກຳລັງ​ສັງລວມ...
ຖາມ AI ກ່ຽວ​ກັບ​ການ​ແປ​ນີ້
ຖາມທຸກຢ່າງກ່ຽວກັບບົດບັນທຶກນີ້ - AI ຈະຊອກຫາສ່ວນທີ່ກ່ຽວຂ້ອງແລະຕອບ.