1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00

Add @action to restackItems() method

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
This commit is contained in:
Alex Andreev 2021-11-26 11:22:26 +03:00
parent 4f7aaf5f53
commit dd81a4750a

View File

@ -230,6 +230,7 @@ export class HotbarStore extends BaseStore<HotbarStoreModel> {
return index;
}
@action
restackItems(from: number, to: number): void {
const { items } = this.getActive();
const source = items[from];