diff --git a/td.vue/src/components/GraphButtons.vue b/td.vue/src/components/GraphButtons.vue index 4aca6a78..40a0b76e 100644 --- a/td.vue/src/components/GraphButtons.vue +++ b/td.vue/src/components/GraphButtons.vue @@ -54,6 +54,12 @@ icon="save" :text="$t('forms.save')" /> + + + @@ -123,6 +129,9 @@ export default { this.graph.showGrid(); this.gridShowing = true; } + }, + goToHome() { + this.$router.push('/'); // Navigate to the home route } } }; diff --git a/td.vue/src/i18n/en.js b/td.vue/src/i18n/en.js index 8545db0d..6a8604a3 100644 --- a/td.vue/src/i18n/en.js +++ b/td.vue/src/i18n/en.js @@ -243,6 +243,7 @@ const eng = { forms: { apply: 'Apply', cancel: 'Cancel', + return: "Return to Home", close: 'Close', closeModel: 'Close Model', delete: 'Delete',