SHA256
UI: общий верхний и нижний тулбар
This commit is contained in:
@@ -84,7 +84,7 @@ function formatChatRowTime(ts) {
|
||||
|
||||
const SVG_CHEVRON = '<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M9 6l6 6-6 6"/></svg>';
|
||||
|
||||
export function render({ navigate }) {
|
||||
export function render({ navigate, chrome }) {
|
||||
const screen = document.createElement('section');
|
||||
screen.className = 'stack dm-screen dm-list-screen';
|
||||
const login = String(state.session.login || '').trim();
|
||||
@@ -248,7 +248,8 @@ export function render({ navigate }) {
|
||||
}
|
||||
}
|
||||
|
||||
screen.append(head, divider, list);
|
||||
chrome?.setTopbar(head);
|
||||
screen.append(divider, list);
|
||||
loadList();
|
||||
return screen;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user