HUGE REFACTOR / CLEANUP
if there is a issue it's probably something in here that was changed
This commit is contained in:
@@ -10,7 +10,6 @@
|
||||
</v-col>
|
||||
</v-row>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
data() {
|
||||
@@ -19,7 +18,7 @@ export default {
|
||||
};
|
||||
},
|
||||
created() {
|
||||
let badPath = this.$router.history.current.path;
|
||||
const badPath = this.$router.history.current.path;
|
||||
//If this happens too early then it might not have all the setup stuff available which would trigger an infinite loop
|
||||
if (
|
||||
!window ||
|
||||
@@ -30,7 +29,7 @@ export default {
|
||||
) {
|
||||
this.msg = '404 - NOT FOUND: "' + badPath + '"';
|
||||
} else {
|
||||
let notFoundTranslated = this.$ay.t("ErrorAPI2010");
|
||||
const notFoundTranslated = this.$ay.t("ErrorAPI2010");
|
||||
//format the message
|
||||
this.msg = "404 - " + notFoundTranslated + ': "' + badPath + '"';
|
||||
//log it in case we need to see it in tech support
|
||||
|
||||
Reference in New Issue
Block a user