mirror of
https://github.com/hcengineering/platform.git
synced 2026-08-17 18:05:42 +02:00
Fix: show print actions for individual documents (#10484)
Signed-off-by: Artem Savchenko <armisav@gmail.com>
This commit is contained in:
@@ -1046,7 +1046,7 @@ export function createModel (builder: Builder): void {
|
||||
label: print.string.PrintToPDF,
|
||||
icon: print.icon.Print,
|
||||
category: view.category.General,
|
||||
input: 'selection',
|
||||
input: 'any',
|
||||
target,
|
||||
context: { mode: ['context', 'browser'], group: 'tools' },
|
||||
visibilityTester: documents.function.CanPrintDocument,
|
||||
|
||||
@@ -21,7 +21,7 @@ export function createModel (builder: Builder): void {
|
||||
label: print.string.PrintToPDF,
|
||||
icon: print.icon.Print,
|
||||
category: view.category.General,
|
||||
input: 'selection',
|
||||
input: 'any',
|
||||
target: core.class.Doc,
|
||||
context: { mode: ['context', 'browser'], group: 'tools' },
|
||||
visibilityTester: print.function.CanPrint
|
||||
|
||||
Reference in New Issue
Block a user