|
|
@ -1,9 +1,9 @@ |
|
|
|
<data-menu categories=input.categories selected=(input.selected || {}) user=input.user on-open("open") /> |
|
|
|
<main class="data-file-page"> |
|
|
|
<h1 class="file-list-headers color-primary">Your Private Files</h1> |
|
|
|
<h1 if(state.privates && state.privates.length > 0) class="file-list-headers color-primary">Your Private Files</h1> |
|
|
|
<file-list user=input.user files=state.privates on-removed("fileRemoved") on-edited("fileEdited") on-nicks("fileNicksChanged") /> |
|
|
|
|
|
|
|
<h1 class="file-list-headers color-primary">Public Files</h1> |
|
|
|
<h1 if(state.publics && state.publics.length > 0) class="file-list-headers color-primary">Public Files</h1> |
|
|
|
<file-list user=input.user files=state.publics on-removed("fileRemoved") on-edited("fileEdited") on-nicks("fileNicksChanged") /> |
|
|
|
</main> |
|
|
|
<add-channel-modal enabled=(state.modal === "channel.add") user=input.user on-close("close") /> |
|
|
|