diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2018-11-09 10:58:58 +0300 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2018-12-20 09:38:45 +0300 |
commit | a285ab6119e46de4b9ec8f306ed4ba16ff8487e8 (patch) | |
tree | ba8fe8cdd684ff10ee2248f513dc52dd2b7a6e23 /lib/TemplateManager.php | |
parent | 2becfd1f9349a82c120b7244f1446f9b57fb40eb (diff) |
Preview makes no sense on empty templates
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'lib/TemplateManager.php')
-rw-r--r-- | lib/TemplateManager.php | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/TemplateManager.php b/lib/TemplateManager.php index 90a3d404..47e07b26 100644 --- a/lib/TemplateManager.php +++ b/lib/TemplateManager.php @@ -439,7 +439,6 @@ class TemplateManager { return [ 'id' => $template->getId(), 'name' => $this->l->t('Empty'), - 'preview' => $this->urlGenerator->linkToRouteAbsolute('richdocuments.templates.getPreview', ['fileId' => $template->getId()]), 'type' => $this->flipTypes()[$template->getMimeType()], ]; } |