fix: operator not permit on newer version of typescript
Some checks failed
gitea-sync/antos/pipeline/head There was a failure building this commit

This commit is contained in:
DanyLE 2023-05-30 11:10:40 +02:00
parent 147b57f4b4
commit edbbc9f248

View File

@ -66,7 +66,7 @@ namespace OS {
}; };
this.catlist.ontabselect = (e) => { this.catlist.ontabselect = (e) => {
const selected = this.catlist.selected; const selected = this.catlist.selected as number;
if(selected < 0) if(selected < 0)
return; return;