mirror of
https://github.com/ONLYOFFICE/web-apps.git
synced 2026-02-10 18:05:32 +08:00
remove optional chain
This commit is contained in:
@ -81,7 +81,7 @@ define([
|
||||
'<div class="recent-wrap">',
|
||||
'<div class="recent-icon">',
|
||||
'<div>',
|
||||
'<svg><use href="#<% if (typeof format !== "undefined" && format?.length > 0) { %><%= format %><% } else { %>neutral<% } %>"></use></svg>',
|
||||
'<svg><use href="#<% if (typeof format !== "undefined" && format && format.length > 0) { %><%= format %><% } else { %>neutral<% } %>"></use></svg>',
|
||||
'<div class= <% if (typeof format !== "undefined") {%> "img-format-<%=format %>"<% } else {%> "svg-file-recent"<%} %>></div>',
|
||||
'</div>',
|
||||
'</div>',
|
||||
|
||||
Reference in New Issue
Block a user