Skip to content

Commit

Permalink
feat(preview-macros): icon pdf instead oform
Browse files Browse the repository at this point in the history
  • Loading branch information
aleksandrfedorov97 committed Aug 20, 2024
1 parent 9df5adb commit 9912d84
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 4 deletions.
3 changes: 0 additions & 3 deletions src/main/java/onlyoffice/macro/OnlyOfficePreviewMacro.java
Original file line number Diff line number Diff line change
Expand Up @@ -183,9 +183,6 @@ public ImagePlaceholder getImagePlaceholder(final Map<String, String> args,
String fileExt = name.substring(dotIdx + 1).toLowerCase();
if (documentManager.getDocumentType(name) != null) {
documentType = documentManager.getDocumentType(name).name().toLowerCase();
if (fileExt.equals("oform")) {
documentType = "form";
}
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/atlassian-plugin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<resource type="download" name="images/preview-placeholder-word.svg" key="images" location="images/preview-placeholder-word.svg"/>
<resource type="download" name="images/preview-placeholder-cell.svg" key="images" location="images/preview-placeholder-cell.svg"/>
<resource type="download" name="images/preview-placeholder-slide.svg" key="images" location="images/preview-placeholder-slide.svg"/>
<resource type="download" name="images/preview-placeholder-form.svg" key="images" location="images/preview-placeholder-form.svg"/>
<resource type="download" name="images/preview-placeholder-pdf.svg" key="images" location="images/preview-placeholder-pdf.svg"/>

<web-resource key="onlyoffice-confluence-plugin-resources" name="Web Resources container for the main page">
<resource type="download" name="onlyoffice-main.js" location="js/onlyoffice-main.js"/>
Expand Down

0 comments on commit 9912d84

Please sign in to comment.