Replies: 2 comments
-
Anyone have answer to this? |
Beta Was this translation helpful? Give feedback.
0 replies
-
$this->skipPreviousModal()->closeModalWithEvents([
redirect()->route('admin-products')
]); |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
How can I redirect instead of showing the modal?
I have a table of videos each with an upload button that loads the upload modal.
wire:click="$emit('openModal', 'videos.upload', {{ json_encode([$row->id]) }})"
Inside the modal I fetch the youtube playlists for the user to choose where they want the video to be uploaded.
Before doing this I check if the token as expired and would liek to redirect but it tries to render empty page "Undefined array key 1"
Beta Was this translation helpful? Give feedback.
All reactions