diff --git a/README.md b/README.md index 4f0101b..2663b4c 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,2 @@ -# EisHub-Catalogue-Entry -Simple interface for submitting catalogue entries to the EisHub Scribes +# Eisvana-Catalogue-Entry +Simple interface for submitting catalogue entries to the Eisvana Wiki Scholars diff --git a/index.html b/index.html index 5267f42..a1f9884 100644 --- a/index.html +++ b/index.html @@ -4,12 +4,12 @@ - EisHub Catalogue Entry + + Eisvana Catalogue Entry
- \ No newline at end of file diff --git a/package-lock.json b/package-lock.json index b692cc3..de21dd6 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,11 +1,11 @@ { - "name": "eishub-catalogue-entry", + "name": "eisvana-catalogue-entry", "version": "0.0.0", "lockfileVersion": 2, "requires": true, "packages": { "": { - "name": "eishub-catalogue-entry", + "name": "eisvana-catalogue-entry", "version": "0.0.0", "dependencies": { "@picocss/pico": "^1.5.10", diff --git a/package.json b/package.json index 6fd458d..5d284ef 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "name": "eishub-catalogue-entry", + "name": "eisvana-catalogue-entry", "version": "0.0.0", "private": true, "scripts": { diff --git a/src/App.vue b/src/App.vue index abda0f1..db72f33 100644 --- a/src/App.vue +++ b/src/App.vue @@ -6,7 +6,7 @@ import { storeToRefs } from 'pinia'; import router from './router'; const catalogueDataStore = useCatalogueDataStore(); -const { file, name } = storeToRefs(catalogueDataStore); +const { file, name, isArtifact } = storeToRefs(catalogueDataStore); const persistentDataStore = usePersistentDataStore(); const { requiredFields, catalogueUrl } = storeToRefs(persistentDataStore); @@ -17,6 +17,7 @@ router.afterEach((to) => { catalogueUrl.value = typeof newCatalogueUrl === 'string' ? newCatalogueUrl : ''; requiredFields.value = Array.isArray(newRequiredFields) ? newRequiredFields : []; + isArtifact.value = to.name === 'Artifact'; name.value.value = ''; file.value.value = null; }); @@ -25,7 +26,7 @@ router.afterEach((to) => {