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

@@ -28,7 +28,8 @@
"@typescript-eslint/eslint-plugin": "^5.30.0",
"eslint-plugin-prettier": "*",
"jest": "^27.5.1",
"ts-jest": "^27.1.3"
"ts-jest": "^27.1.3",
"typescript": "*"
},
"dependencies": {
"@standardnotes/common": "^1.23.1",

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,

View File

@@ -7031,6 +7031,7 @@ __metadata:
lodash: ^4.17.21
reflect-metadata: ^0.1.13
ts-jest: ^27.1.3
typescript: "*"
languageName: unknown
linkType: soft