v0.5.104: админ видит (личное) у своих компаний в dropdown

This commit is contained in:
2026-06-15 13:41:01 +04:00
parent f00b7f3e87
commit 2545bc97f1
4 changed files with 5 additions and 3 deletions
+1 -1
View File
@@ -170,7 +170,7 @@
<select name="switchTo" onchange="this.form.submit()">
<% companies.forEach(function(c) { %>
<option value="<%= c.client_id %>" <%= c.client_id === activeClientId ? 'selected' : '' %>>
<%= c.name %> (<%= c.client_id %>)<% if (c.active_count != null) { %> — <%= c.active_count %> зап.<% } %>
<%= c.name %> (<%= c.client_id %>)<% if (c.isPersonal) { %> (личное)<% } %><% if (c.active_count != null) { %> — <%= c.active_count %> зап.<% } %>
</option>
<% }) %>
</select>