mirror of
https://github.com/edumeet/edumeet.git
synced 2026-01-23 02:34:58 +00:00
add lastN GET parameter
This commit is contained in:
parent
2362935ad5
commit
30d08b5f91
1 changed files with 5 additions and 0 deletions
|
|
@ -309,6 +309,11 @@ export default class RoomClient
|
|||
else
|
||||
this._maxSpotlights = config.mobileLastN;
|
||||
|
||||
const urlParser = new URL(window.location);
|
||||
const parameters = urlParser.searchParams;
|
||||
|
||||
this._maxSpotlights = parameters.get('lastN') || this._maxSpotlights;
|
||||
|
||||
store.dispatch(
|
||||
settingsActions.setLastN(this._maxSpotlights));
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue