mirror of
https://github.com/nextcloud/server.git
synced 2026-06-09 08:44:07 -04:00
Revert "fix(files): new folder icon color"
This reverts commit 221d8b641a.
This commit is contained in:
parent
221d8b641a
commit
90c2bba637
1 changed files with 1 additions and 4 deletions
|
|
@ -43,11 +43,8 @@ export const entry = {
|
|||
id: 'newFolder',
|
||||
displayName: t('files', 'New folder'),
|
||||
enabled: (context: Folder) => Boolean(context.permissions & Permission.CREATE) && Boolean(context.permissions & Permission.READ),
|
||||
|
||||
// Make the svg icon color match the primary element color
|
||||
iconSvgInline: FolderPlusSvg.replace(/viewBox/gi, 'style="color: var(--color-primary-element)" viewBox'),
|
||||
iconSvgInline: FolderPlusSvg,
|
||||
order: 0,
|
||||
|
||||
async handler(context: Folder, content: Node[]) {
|
||||
const name = await newNodeName(t('files', 'New folder'), content)
|
||||
if (name === null) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue