aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorLouis Chemineau <louis@chmn.me>2024-10-03 15:02:44 +0200
committerLouis <louis@chmn.me>2024-10-09 19:49:07 +0200
commitc0e5635ade9ebbc2bb1c5cb455e4e976274d4b8e (patch)
tree9e0085c07f4c8c911a9e42d3dba79437760254f5 /core
parent43b1fd7bb8540181284659def6e01b8854a10fc0 (diff)
downloadnextcloud-server-c0e5635ade9ebbc2bb1c5cb455e4e976274d4b8e.tar.gz
nextcloud-server-c0e5635ade9ebbc2bb1c5cb455e4e976274d4b8e.zip
fix: Vue app names
This improves the debugging experience in the vue dev tool. Signed-off-by: Louis Chemineau <louis@chmn.me>
Diffstat (limited to 'core')
-rw-r--r--core/src/components/ContactsMenu.js1
-rw-r--r--core/src/components/UserMenu.js1
2 files changed, 2 insertions, 0 deletions
diff --git a/core/src/components/ContactsMenu.js b/core/src/components/ContactsMenu.js
index 5dd395da34c..e07a699ab9f 100644
--- a/core/src/components/ContactsMenu.js
+++ b/core/src/components/ContactsMenu.js
@@ -15,6 +15,7 @@ export const setUp = () => {
if (mountPoint) {
// eslint-disable-next-line no-new
new Vue({
+ name: 'ContactsMenuRoot',
el: mountPoint,
render: h => h(ContactsMenu),
})
diff --git a/core/src/components/UserMenu.js b/core/src/components/UserMenu.js
index 37895bb6166..5c488f2341e 100644
--- a/core/src/components/UserMenu.js
+++ b/core/src/components/UserMenu.js
@@ -12,6 +12,7 @@ export const setUp = () => {
if (mountPoint) {
// eslint-disable-next-line no-new
new Vue({
+ name: 'AccountMenuRoot',
el: mountPoint,
render: h => h(AccountMenu),
})