diff --git a/src/components/navigation/EssentialLink.vue b/src/components/navigation/EssentialLink.vue
index b8169bf..4749f23 100644
--- a/src/components/navigation/EssentialLink.vue
+++ b/src/components/navigation/EssentialLink.vue
@@ -1,19 +1,11 @@
-
-
+
+
- {{ title }}
+ {{ realTitle }}
{{ caption }}
@@ -22,30 +14,48 @@
diff --git a/src/config.ts b/src/config.ts
index 4e015ab..071be79 100644
--- a/src/config.ts
+++ b/src/config.ts
@@ -1,5 +1,5 @@
const config = {
- baseURL: "http://flaschengeist.local:5000"
+ baseURL: 'http://localhost:5000'
};
-export default config;
\ No newline at end of file
+export default config;
diff --git a/src/plugins/user/plugin.ts b/src/plugins/user/plugin.ts
index ebfb36f..73665b5 100644
--- a/src/plugins/user/plugin.ts
+++ b/src/plugins/user/plugin.ts
@@ -6,7 +6,7 @@ import routes from './routes';
const mainLink: PluginMainLink = {
name: 'user',
- title: 'User',
+ title: 'loadFromStore("user/displayName")',
link: 'user',
icon: 'mdi-account',
children: [
diff --git a/src/plugins/user/store/user.ts b/src/plugins/user/store/user.ts
index 78bfb95..b289015 100644
--- a/src/plugins/user/store/user.ts
+++ b/src/plugins/user/store/user.ts
@@ -134,6 +134,9 @@ const getters: GetterTree = {
},
loginLoading({ loginLoading }) {
return loginLoading;
+ },
+ displayName({ user }) {
+ return `${user.firstname} ${user.lastname}`;
}
};