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:
parent
4f7aaf5f53
commit
dd81a4750a
@ -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];
|
||||
|
||||
Loading…
Reference in New Issue
Block a user