aboutsummaryrefslogtreecommitdiff
path: root/src/background/controllers/OperationController.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/background/controllers/OperationController.ts')
-rw-r--r--src/background/controllers/OperationController.ts4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/background/controllers/OperationController.ts b/src/background/controllers/OperationController.ts
index cb5c043..1e80f54 100644
--- a/src/background/controllers/OperationController.ts
+++ b/src/background/controllers/OperationController.ts
@@ -84,6 +84,10 @@ export default class OperationController {
return this.navigateUseCase.openLinkPrev();
case operations.NAVIGATE_LINK_NEXT:
return this.navigateUseCase.openLinkNext();
+ case operations.NAVIGATE_PARENT:
+ return this.navigateUseCase.openParent();
+ case operations.NAVIGATE_ROOT:
+ return this.navigateUseCase.openRoot();
}
throw new Error('unknown operation: ' + operation.type);
}