mirror of
https://github.com/cpvalente/ontime.git
synced 2026-08-19 22:24:11 +00:00
refactor: make function private
This commit is contained in:
committed by
Carlos Valente
parent
b5cf6c4bd1
commit
8fac23c078
@@ -76,7 +76,7 @@ type CuesheetOptions = {
|
|||||||
* Utility extract the view options from URL Params
|
* Utility extract the view options from URL Params
|
||||||
* the names and fallbacks are manually matched with cuesheetOptions
|
* the names and fallbacks are manually matched with cuesheetOptions
|
||||||
*/
|
*/
|
||||||
export function getOptionsFromParams(searchParams: URLSearchParams): CuesheetOptions {
|
function getOptionsFromParams(searchParams: URLSearchParams): CuesheetOptions {
|
||||||
// we manually make an object that matches the key above
|
// we manually make an object that matches the key above
|
||||||
return {
|
return {
|
||||||
showActionMenu: isStringBoolean(searchParams.get('showActionMenu')),
|
showActionMenu: isStringBoolean(searchParams.get('showActionMenu')),
|
||||||
|
|||||||
Reference in New Issue
Block a user