From 76e3676b520d7f4d27c1b2b79a1b2ddc8f5bd9c5 Mon Sep 17 00:00:00 2001 From: Max Date: Thu, 9 Feb 2023 17:35:33 +0100 Subject: [PATCH] fix: id of content to be unique `content` is already used as an id in the server template: https://github.com/nextcloud/server/blob/c10317f7f9f53a4de464915f754896eed7f1ee6c/core/templates/layout.user.php#L125 Make sure to have a unique id and to replace the correct dom element when mounting the vue app. The app uses NcAppContent which is rendered as a `
` tag. Mount the app on `main#content` from the server template so there is only one `
` on the page. Signed-off-by: Max --- templates/main.php | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/templates/main.php b/templates/main.php index 33cfaeb5..65bae551 100644 --- a/templates/main.php +++ b/templates/main.php @@ -1 +1,8 @@ -
+