mirror of
https://github.com/HeyPuter/puter.git
synced 2026-09-24 22:26:42 +00:00
Pass redirect_url to UIWindowSessionList
This commit is contained in:
@@ -976,7 +976,7 @@ window.initgui = async function (options) {
|
||||
const reload_on_success = needs_action;
|
||||
if ( window.logged_in_users.length > 0 ) {
|
||||
await UIWindowSessionList({
|
||||
reload_on_success,
|
||||
redirect_url: needs_action ? window.location.href : undefined,
|
||||
});
|
||||
}
|
||||
else {
|
||||
|
||||
Reference in New Issue
Block a user