fix: subtag duplication (#1227)
This commit is contained in:
@@ -28,7 +28,8 @@
|
|||||||
"@typescript-eslint/eslint-plugin": "^5.30.0",
|
"@typescript-eslint/eslint-plugin": "^5.30.0",
|
||||||
"eslint-plugin-prettier": "*",
|
"eslint-plugin-prettier": "*",
|
||||||
"jest": "^27.5.1",
|
"jest": "^27.5.1",
|
||||||
"ts-jest": "^27.1.3"
|
"ts-jest": "^27.1.3",
|
||||||
|
"typescript": "*"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@standardnotes/common": "^1.23.1",
|
"@standardnotes/common": "^1.23.1",
|
||||||
|
|||||||
@@ -148,8 +148,9 @@ const FileMenuOptions: FunctionComponent<Props> = ({
|
|||||||
<Icon type="trash" className="mr-2 text-danger" />
|
<Icon type="trash" className="mr-2 text-danger" />
|
||||||
<span className="text-danger">Delete permanently</span>
|
<span className="text-danger">Delete permanently</span>
|
||||||
</button>
|
</button>
|
||||||
|
<HorizontalSeparator classes="my-2" />
|
||||||
{selectedFiles.length === 1 && (
|
{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">
|
<div className="mb-1">
|
||||||
<span className="font-semibold">File ID:</span> {selectedFiles[0].uuid}
|
<span className="font-semibold">File ID:</span> {selectedFiles[0].uuid}
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -56,7 +56,7 @@ export class NavigationController extends AbstractViewController {
|
|||||||
this.smartViews = this.application.items.getSmartViews()
|
this.smartViews = this.application.items.getSmartViews()
|
||||||
|
|
||||||
makeObservable(this, {
|
makeObservable(this, {
|
||||||
tags: observable.ref,
|
tags: observable,
|
||||||
smartViews: observable.ref,
|
smartViews: observable.ref,
|
||||||
hasAtLeastOneFolder: computed,
|
hasAtLeastOneFolder: computed,
|
||||||
allNotesCount_: observable,
|
allNotesCount_: observable,
|
||||||
|
|||||||
Reference in New Issue
Block a user