Skip to content

TagSpaces is an offline, open source, document manager with tagging support

fix typo

sytolk831a714b1912
diff --git a/src/renderer/components/MobileNavigation.tsx b/src/renderer/components/MobileNavigation.tsx
index 5a9da951e..29cdf18d5 100644
--- a/src/renderer/components/MobileNavigation.tsx
+++ b/src/renderer/components/MobileNavigation.tsx
@@ -253,7 +253,7 @@ function MobileNavigation(props: Props) {
<TsMenuList id="split-button-menu" autoFocusItem>
<MenuItem
key="createNewTextFileTID"
- ata-tid="createNewTextFileTID"
+ data-tid="createNewTextFileTID"
onClick={() => {
openNewFileDialog('txt');
setOpenCreateMenu(false);
@@ -269,7 +269,7 @@ function MobileNavigation(props: Props) {
</MenuItem>
<MenuItem
key="createNewMarkdownFileTID"
- ata-tid="createNewMarkdownFileTID"
+ data-tid="createNewMarkdownFileTID"
onClick={() => {
openNewFileDialog('md');
setOpenCreateMenu(false);
@@ -382,7 +382,7 @@ function MobileNavigation(props: Props) {
<Divider />
<MenuItem
key="createNewFolderTID"
- ata-tid="createNewFolderTID"
+ data-tid="createNewFolderTID"
onClick={() => {
openCreateDirectoryDialog();
setOpenCreateMenu(false);
@@ -399,7 +399,7 @@ function MobileNavigation(props: Props) {
<Divider />
<MenuItem
key="createNewLocationTID"
- ata-tid="createNewFolderTID"
+ data-tid="createNewFolderTID"
onClick={() => {
setSelectedLocation(undefined);
openCreateEditLocationDialog();
@@ -418,7 +418,7 @@ function MobileNavigation(props: Props) {
<>
<MenuItem
key="createWindowTID"
- ata-tid="createWindowTID"
+ data-tid="createWindowTID"
onClick={() => {
createNewInstance();
setOpenCreateMenu(false);
diff --git a/src/renderer/components/dialogs/components/SettingsAI.tsx b/src/renderer/components/dialogs/components/SettingsAI.tsx
index 9525d9ae2..38db2a111 100644
--- a/src/renderer/components/dialogs/components/SettingsAI.tsx
+++ b/src/renderer/components/dialogs/components/SettingsAI.tsx
@@ -251,7 +251,7 @@ function SettingsAI(props: Props) {
<TsMenuList id="split-button-menu" autoFocusItem>
<MenuItem
key="createNewTextFileTID"
- ata-tid="createNewTextFileTID"
+ data-tid="createNewTextFileTID"
onClick={() => {
addAiProvider('ollama');
setOpenedNewAIMenu(false);
diff --git a/src/renderer/perspectives/common/DirectoryMenuItems.tsx b/src/renderer/perspectives/common/DirectoryMenuItems.tsx
index 3bf17beec..b391232f1 100644
--- a/src/renderer/perspectives/common/DirectoryMenuItems.tsx
+++ b/src/renderer/perspectives/common/DirectoryMenuItems.tsx
@@ -214,7 +214,7 @@ export function getDirectoryMenuItems(
menuItems.push(
<MenuItem
key="createNewTextFileTID"
- ata-tid="createNewTextFileTID"
+ data-tid="createNewTextFileTID"
onClick={() => {
onClose();
createNewFile('txt');
@@ -230,7 +230,7 @@ export function getDirectoryMenuItems(
menuItems.push(
<MenuItem
key="createNewMarkdownFileTID"
- ata-tid="createNewMarkdownFileTID"
+ data-tid="createNewMarkdownFileTID"
onClick={() => {
onClose();
createNewFile('md');