mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-20 02:05:21 -04:00
fix: format code
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
This commit is contained in:
parent
d75d406e67
commit
34bf8f16b1
14 changed files with 46 additions and 22 deletions
|
@ -47,8 +47,8 @@ async function findNotePermissionByGroup(
|
|||
function isSpecialGroup(group: Group): boolean {
|
||||
return (
|
||||
group.special &&
|
||||
(group.name === SpecialGroup.LOGGED_IN ||
|
||||
group.name === SpecialGroup.EVERYONE)
|
||||
(group.name === (SpecialGroup.LOGGED_IN as string) ||
|
||||
group.name === (SpecialGroup.EVERYONE as string))
|
||||
);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue