mirror of
https://github.com/zen-browser/desktop.git
synced 2026-02-06 20:07:17 +00:00
feat: Add print to command palette, p=#11696
* Add print to command palette * Do not show print command on empty tab
This commit is contained in:
@@ -183,6 +183,14 @@ const globalActionsTemplate = [
|
||||
return lazy.currentTheme !== 0;
|
||||
},
|
||||
},
|
||||
{
|
||||
label: 'Print',
|
||||
command: 'cmd_print',
|
||||
icon: 'chrome://browser/skin/zen-icons/print.svg',
|
||||
isAvailable: (window) => {
|
||||
return isNotEmptyTab(window);
|
||||
},
|
||||
},
|
||||
];
|
||||
|
||||
export const globalActions = globalActionsTemplate.map((action) => ({
|
||||
|
||||
Reference in New Issue
Block a user