diff --git a/src/components/Discover/Map/SidebarFilter.vue b/src/components/Discover/Map/SidebarFilter.vue
index 641c63c..4b7c468 100644
--- a/src/components/Discover/Map/SidebarFilter.vue
+++ b/src/components/Discover/Map/SidebarFilter.vue
@@ -41,7 +41,7 @@
diff --git a/src/module/alertModal.js b/src/module/alertModal.js
index fe1db90..9868453 100644
--- a/src/module/alertModal.js
+++ b/src/module/alertModal.js
@@ -310,7 +310,7 @@ export async function uploadFailedFirst(failureType, failureMsg, failureLoc) {
value = 'File size exceeds 90MB.';
break;
case 'encoding':
- value = `Please use UFT-8 for character encoding: (Row #${failureLoc})`;
+ value = `Please use UTF-8 for character encoding: (Row #${failureLoc})`;
break;
case 'insufficient_columns':
value = 'Need at least five columns of data.';
@@ -356,7 +356,7 @@ export async function uploadFailedSecond(detail) {
manySrt = 'There are more errors.';
break;
case 'unrecognized':
- content = `Data unregnizable in Status Column: (Row #${i.loc[1]}, "${escapeHtml(i.input)}")`;
+ content = `Data unrecognizable in Status Column: (Row #${i.loc[1]}, "${escapeHtml(i.input)}")`;
break;
case 'malformed':
content = `Data malformed in Timestamp Column: (Row #${i.loc[1]}, "${escapeHtml(i.input)}")`;
diff --git a/src/module/timeLabel.js b/src/module/timeLabel.js
index cfe823d..d9a321c 100644
--- a/src/module/timeLabel.js
+++ b/src/module/timeLabel.js
@@ -9,7 +9,7 @@
import moment from 'moment';
/** @constant {number} Number of decimal places for formatted time values. */
-const TOFIXED_DEICMAL = 1;
+const TOFIXED_DECIMAL = 1;
/**
* Calculates the step size and time unit for evenly spaced Y-axis ticks.
@@ -78,7 +78,7 @@ const getTimeUnitAndValueToUse = (secondToDecide) => {
export function getYTicksByIndex(stepSize, index, unitToUse){
const rawStepsizeMultIndex = (stepSize * index).toString();
const shortenStepsizeMultIndex = rawStepsizeMultIndex.substring(
- 0, rawStepsizeMultIndex.indexOf('.') + 1 + TOFIXED_DEICMAL);
+ 0, rawStepsizeMultIndex.indexOf('.') + 1 + TOFIXED_DECIMAL);
return `${shortenStepsizeMultIndex}${unitToUse}`;
};
diff --git a/src/stores/acctMgmt.ts b/src/stores/acctMgmt.ts
index 6f4d156..150f7c2 100644
--- a/src/stores/acctMgmt.ts
+++ b/src/stores/acctMgmt.ts
@@ -253,7 +253,7 @@ export const useAcctMgmtStore = defineStore('acctMgmtStore', {
const response = await apiClient.delete(apiDeleteRole);
return response.status === 200;
} catch (error) {
- apiError(error, 'Failed to delete a role frome the account.');
+ apiError(error, 'Failed to delete a role from the account.');
return false;
}
},
diff --git a/src/stores/files.ts b/src/stores/files.ts
index a865b5c..4f9798b 100644
--- a/src/stores/files.ts
+++ b/src/stores/files.ts
@@ -305,7 +305,7 @@ export const useFilesStore = defineStore('filesStore', {
link.click();
window.URL.revokeObjectURL(url);
} catch(error) {
- apiError(error, 'Failed to delete.');
+ apiError(error, 'Failed to download.');
}
},
},
diff --git a/src/stores/login.ts b/src/stores/login.ts
index 67cdb1b..49b3ea0 100644
--- a/src/stores/login.ts
+++ b/src/stores/login.ts
@@ -125,7 +125,7 @@ export const useLoginStore = defineStore('loginStore', {
this.userData = response.data;
} catch(error) {
- apiError(error, 'Failed to load the Map.');
+ apiError(error, 'Failed to load user data.');
};
},
/**