Finetuning the level selector, fix #1013, fix #1000

This commit is contained in:
Pieter Vander Vennet 2022-08-06 17:30:23 +02:00
parent 5505a896bc
commit 4473560391
5 changed files with 234 additions and 162 deletions

View file

@ -602,6 +602,7 @@ export class TagUtils {
* TagUtils.LevelsParser("0") // => ["0"]
* TagUtils.LevelsParser("-1") // => ["-1"]
* TagUtils.LevelsParser("0;-1") // => ["0", "-1"]
* TagUtils.LevelsParser(undefined) // => []
*/
public static LevelsParser(level: string): string[] {
let spec = Utils.NoNull([level])