mirror of
https://github.com/nextcloud/server.git
synced 2026-06-09 08:44:07 -04:00
feat: expose tag color via webdav
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
This commit is contained in:
parent
1c6e7ccae2
commit
9c1fe558af
1 changed files with 1 additions and 0 deletions
|
|
@ -54,6 +54,7 @@ class SystemTagList implements Element {
|
|||
SystemTagPlugin::ID_PROPERTYNAME => $tag->getId(),
|
||||
SystemTagPlugin::USERASSIGNABLE_PROPERTYNAME => $tag->isUserAssignable() ? 'true' : 'false',
|
||||
SystemTagPlugin::USERVISIBLE_PROPERTYNAME => $tag->isUserVisible() ? 'true' : 'false',
|
||||
SystemTagPlugin::COLOR_PROPERTYNAME => $tag->getColor() ?? '',
|
||||
]);
|
||||
$writer->write($tag->getName());
|
||||
$writer->endElement();
|
||||
|
|
|
|||
Loading…
Reference in a new issue