This commit is contained in:
Rizky 2024-01-20 20:41:53 +07:00
parent 3dc25a8447
commit 1c710ee34d
1 changed files with 1 additions and 1 deletions

View File

@ -41,7 +41,7 @@ export const EdScriptWorkbench = () => {
onClick={() => {
if (scriptNav.canBack) {
active.script_nav.idx = active.script_nav.idx - 1;
const item = active.script_nav.list.pop();
const item = active.script_nav.list[active.script_nav.idx];
if (item) {
active.item_id = item.item_id;