diff --git a/apps/wiki.json b/apps/wiki.json index 416773bd..e9a1ab5a 100644 --- a/apps/wiki.json +++ b/apps/wiki.json @@ -1,5 +1,5 @@ { "type": "tildefriends-app", "emoji": "📝", - "previous": "&s6S7S8P4kxvqLRip/WX45Bw7h+GG79BjJRBZOnaDtaE=.sha256" + "previous": "&rj3P1MdTitVRBCznRAN+lmMz8dxPwil2PjQ31KdkPi4=.sha256" } \ No newline at end of file diff --git a/apps/wiki/tf-collection.js b/apps/wiki/tf-collection.js index 82161442..71c6cefd 100644 --- a/apps/wiki/tf-collection.js +++ b/apps/wiki/tf-collection.js @@ -4,6 +4,7 @@ import * as tfrpc from '/static/tfrpc.js'; class TfCollectionElement extends LitElement { static get properties() { return { + whoami: {type: String}, collection: {type: Object}, selected_id: {type: String}, is_creating: {type: Boolean}, @@ -69,7 +70,7 @@ class TfCollectionElement extends LitElement { ${Object.values(this.collection ?? {}).map(x => html``)} - + @@ -77,15 +78,15 @@ class TfCollectionElement extends LitElement { - - - + + + - + `; } diff --git a/apps/wiki/tf-collections-app.js b/apps/wiki/tf-collections-app.js index 04b24f8c..cb47d6e0 100644 --- a/apps/wiki/tf-collections-app.js +++ b/apps/wiki/tf-collections-app.js @@ -192,11 +192,12 @@ class TfCollectionsAppElement extends LitElement { let self = this; return html`
- +
${keyed(this.wiki_doc?.id, html`