launcher: fix typeerror
This commit is contained in:
parent
7b6a109ad3
commit
675e77c4f6
1 changed files with 1 additions and 1 deletions
|
|
@ -407,7 +407,7 @@ export default class Actions extends Widget.Box implements LauncherContent {
|
||||||
const list = Object.keys(transparencyActions);
|
const list = Object.keys(transparencyActions);
|
||||||
|
|
||||||
for (const { target } of fuzzysort.go(args[1], list, { all: true }))
|
for (const { target } of fuzzysort.go(args[1], list, { all: true }))
|
||||||
this.#content.add(<Transparency amount={target} />);
|
this.#content.add(<Transparency amount={target as keyof typeof transparencyActions} />);
|
||||||
} else {
|
} else {
|
||||||
const list = this.#list.filter(
|
const list = this.#list.filter(
|
||||||
a => this.#map[a].available?.() ?? !config.disabledActions.get().includes(a)
|
a => this.#map[a].available?.() ?? !config.disabledActions.get().includes(a)
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue