239. Redirecting the User (after Deleting a Recipe)
Jul 22, 2026 00:51
· 1:47
· English
· Whisper Turbo
· 2 ໄມໂຄຣໂຟນ
ບົດບັນທຶກນີ້ຈະໝົດອາຍຸໃນ 8 ມື້
ປັບປຸງໃຫ້ເປັນບ່ອນເກັບທີ່ບໍ່ປ່ຽນແປງ →
ສະແດງແຕ່
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
ສັງລວມ
ກົດປຸ່ມສັງລວມ ເພື່ອສ້າງບົດສັງລວມ AI ຂອງບົດບັນທຶກນີ້.
ກຳລັງສັງລວມ...
ຖາມ AI ກ່ຽວກັບການແປນີ້
ຖາມທຸກຢ່າງກ່ຽວກັບບົດບັນທຶກນີ້ - AI ຈະຊອກຫາສ່ວນທີ່ກ່ຽວຂ້ອງແລະຕອບ.