disable clipboard when empty

This commit is contained in:
Niels Lyngsø
2020-06-12 14:01:13 +02:00
parent 60fc66797e
commit 6d8d79531d
@@ -39,6 +39,7 @@ angular.module("umbraco")
vm.clickClearClipboard = function() {
vm.onNavigationChanged(vm.navigation[0]);
vm.navigation[1].disabled = true;// disabled ws determined when creating the navigation, so we need to update it here.
vm.model.clipboardItems = [];// This dialog is not connected via the clipboardService events, so we need to update manually.
vm.model.clickClearClipboard();
}