fix: subtag duplication (#1227)

This commit is contained in:
Aman Harwara
2022-07-08 19:47:18 +05:30
committed by GitHub
parent c737132b50
commit f349744fdb
4 changed files with 6 additions and 3 deletions

View File

@@ -148,8 +148,9 @@ const FileMenuOptions: FunctionComponent<Props> = ({
<Icon type="trash" className="mr-2 text-danger" />
<span className="text-danger">Delete permanently</span>
</button>
<HorizontalSeparator classes="my-2" />
{selectedFiles.length === 1 && (
<div className="px-3 pt-1.5 pb-0.5 text-xs font-medium text-neutral">
<div className="px-3 pt-1 pb-0.5 text-xs font-medium text-neutral">
<div className="mb-1">
<span className="font-semibold">File ID:</span> {selectedFiles[0].uuid}
</div>

View File

@@ -56,7 +56,7 @@ export class NavigationController extends AbstractViewController {
this.smartViews = this.application.items.getSmartViews()
makeObservable(this, {
tags: observable.ref,
tags: observable,
smartViews: observable.ref,
hasAtLeastOneFolder: computed,
allNotesCount_: observable,