diff --git a/js/ui/appDisplay.js b/js/ui/appDisplay.js index 3673c8541..a3e60b834 100644 --- a/js/ui/appDisplay.js +++ b/js/ui/appDisplay.js @@ -3399,7 +3399,7 @@ var AppIcon = GObject.registerClass({ let view = _getViewFromIcon(this); let apps = [this.id, source.id]; - return view.createFolder(apps); + return view?.createFolder(apps); } cancelActions() {