This commit is contained in:
parent
27f2d319ab
commit
abde709e54
@ -318,10 +318,9 @@ class TfMessageElement extends LitElement {
|
||||
>
|
||||
+ ${this.total_child_messages(this.message) + ' More'}
|
||||
</button>
|
||||
`;
|
||||
`;
|
||||
} else {
|
||||
return html`
|
||||
<div class="w3-container w3-margin-bottom">
|
||||
return html` <div class="w3-container w3-margin-bottom">
|
||||
${repeat(
|
||||
this.message.child_messages || [],
|
||||
(x) => x.id,
|
||||
@ -342,8 +341,8 @@ class TfMessageElement extends LitElement {
|
||||
style="box-sizing: border-box"
|
||||
@click=${() => self.set_expanded(false)}
|
||||
>
|
||||
Collapse</button
|
||||
>`;
|
||||
Collapse
|
||||
</button>`;
|
||||
}
|
||||
} else {
|
||||
return undefined;
|
||||
@ -553,12 +552,8 @@ class TfMessageElement extends LitElement {
|
||||
`
|
||||
: undefined;
|
||||
return html`
|
||||
<div class="w3-section w3-container">
|
||||
${reply}
|
||||
</div>
|
||||
<footer>
|
||||
${this.render_children()}
|
||||
</footer>
|
||||
<div class="w3-section w3-container">${reply}</div>
|
||||
<footer>${this.render_children()}</footer>
|
||||
`;
|
||||
}
|
||||
|
||||
|
@ -62,9 +62,7 @@ function nice_size(bytes) {
|
||||
}
|
||||
|
||||
async function main() {
|
||||
await app.setDocument(
|
||||
'<p style="color: #fff">Analyzing feeds...</p>'
|
||||
);
|
||||
await app.setDocument('<p style="color: #fff">Analyzing feeds...</p>');
|
||||
let most_follows = get_most_follows();
|
||||
let total = await get_total();
|
||||
let identities = await ssb.getAllIdentities();
|
||||
|
Loading…
x
Reference in New Issue
Block a user