fix css never been loaded

This commit is contained in:
stefan.tollkuehn committed 2026-10-22 17:55:51 +02:00
1 parent 5fc89dfff4
commit 8910a46d1d
4 files changed
+48

No files matched your search

+7
View File
@@ -20,6 +20,7 @@ use OCP\IURLGenerator;
use OCP\IUserSession;
use OCP\IDateTimeZone;
use OCP\IL10N;
use OCP\Util;
use Psr\Log\LoggerInterface;
use Sabre\VObject\Reader;
@@ -347,6 +348,12 @@ class CalendarController extends Controller
string $calendarId = '',
string $error = ''
): TemplateResponse {
/*
* Stylesheets are not auto-loaded, css/style.css
* must be registered for the page layout.
*/
Util::addStyle(Application::APP_ID, 'style');
return new TemplateResponse(
Application::APP_ID,
'confirm',