SHA256
Channels UI + read/unread + unique views + style polish
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { renderHeader } from '../components/header.js';
|
||||
import { renderHeader } from '../components/header.js';
|
||||
import { profile } from '../mock-data.js';
|
||||
import { authService, state } from '../state.js';
|
||||
import {
|
||||
@@ -83,7 +83,7 @@ export function render({ navigate }) {
|
||||
const login = state.session.login || profile.login;
|
||||
|
||||
const screen = document.createElement('section');
|
||||
screen.className = 'stack';
|
||||
screen.className = 'stack profile-screen';
|
||||
|
||||
screen.append(
|
||||
renderHeader({
|
||||
@@ -561,8 +561,8 @@ export function render({ navigate }) {
|
||||
updateTogglesUi();
|
||||
updateGenderUi();
|
||||
|
||||
status.className = 'status-line is-available';
|
||||
status.textContent = 'Актуальные параметры загружены.';
|
||||
status.className = 'status-line';
|
||||
status.textContent = '';
|
||||
} catch (error) {
|
||||
status.className = 'status-line is-unavailable';
|
||||
status.textContent = `Не удалось загрузить параметры: ${error.message || 'ошибка сети'}`;
|
||||
|
||||
Reference in New Issue
Block a user