SHA256
Исправить рендер messages-list и поднять версию для main
This commit is contained in:
+1
-1
@@ -1,2 +1,2 @@
|
|||||||
client.version=1.8.0
|
client.version=1.9.0
|
||||||
server.version=1.7.0
|
server.version=1.7.0
|
||||||
|
|||||||
@@ -13,6 +13,11 @@ import { parseDmTechBlocks } from '../services/dm-tech-blocks.js';
|
|||||||
|
|
||||||
export const pageMeta = { id: 'messages-list', title: 'Личные сообщения' };
|
export const pageMeta = { id: 'messages-list', title: 'Личные сообщения' };
|
||||||
const PREVIEW_MAX_LEN = 200;
|
const PREVIEW_MAX_LEN = 200;
|
||||||
|
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"></path>
|
||||||
|
</svg>
|
||||||
|
`;
|
||||||
const DM_BLOB_PREVIEW_CACHE = new Map();
|
const DM_BLOB_PREVIEW_CACHE = new Map();
|
||||||
const DM_BLOB_PREVIEW_PENDING = new Map();
|
const DM_BLOB_PREVIEW_PENDING = new Map();
|
||||||
const dmAvatarSnapshotCache = new Map();
|
const dmAvatarSnapshotCache = new Map();
|
||||||
@@ -164,6 +169,7 @@ function compareChatRows(a, b) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
export function render({ navigate, chrome }) {
|
export function render({ navigate, chrome }) {
|
||||||
|
const login = String(state.session.login || '').trim();
|
||||||
const screen = document.createElement('section');
|
const screen = document.createElement('section');
|
||||||
screen.className = 'stack dm-screen dm-list-screen';
|
screen.className = 'stack dm-screen dm-list-screen';
|
||||||
const head = document.createElement('header');
|
const head = document.createElement('header');
|
||||||
|
|||||||
Reference in New Issue
Block a user