We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 14c162f commit 2689186Copy full SHA for 2689186
src/controllers/now.js
@@ -76,6 +76,7 @@ async function getState(req) {
76
const booth = getBoothData(uw);
77
const waitlist = uw.waitlist.getUserIDs();
78
const waitlistLocked = uw.waitlist.isLocked();
79
+ const autoLeave = user != null ? uw.booth.getRemoveAfterCurrentPlay(user) : false;
80
let activePlaylist = user?.activePlaylist
81
? uw.playlists.getUserPlaylist(user, user.activePlaylist)
82
: null;
@@ -110,6 +111,7 @@ async function getState(req) {
110
111
booth,
112
waitlist,
113
waitlistLocked,
114
+ autoLeave,
115
activePlaylist,
116
firstActivePlaylistItem,
117
playlists,
0 commit comments