Update AdminSettings.php

Signed-off-by: Marcel Klehr <mklehr@gmx.net>
This commit is contained in:
Marcel Klehr
2025-07-03 13:14:49 +02:00
committed by GitHub
parent add2ea4de2
commit 827508cd48

View File

@ -35,7 +35,7 @@ class AdminSettings implements ISettings {
$modelsDownloaded = file_exists($modelsPath);
$this->initialState->provideInitialState('modelsDownloaded', $modelsDownloaded);
$tagsEnabled = $this->appManager->isEnabledForAnyone('systemtags');
$tagsEnabled = $this->appManager->isEnabledForUser('systemtags');
$this->initialState->provideInitialState('tagsEnabled', $tagsEnabled);
return new TemplateResponse('recognize', 'admin');