remove optional chain

This commit is contained in:
Konstantin Kireyev
2025-11-13 22:02:59 +05:00
parent 8407001da9
commit 38fa280402

View File

@ -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>',