feat: display folders even without the premium (#826)

This commit is contained in:
Laurent Senta
2022-01-26 09:21:24 +01:00
committed by GitHub
parent 86b38e1041
commit 7726b1249c
3 changed files with 6 additions and 12 deletions

View File

@@ -172,7 +172,7 @@ export class TagsState {
}
getChildren(tag: SNTag): SNTag[] {
if (!this.features.hasFolders) {
if (!this.features.enableNativeFoldersFeature) {
return [];
}
@@ -230,7 +230,7 @@ export class TagsState {
}
get rootTags(): SNTag[] {
if (!this.features.hasFolders) {
if (!this.features.enableNativeFoldersFeature) {
return this.tags;
}