new: hide hidden nodes
This commit is contained in:
@@ -42,6 +42,7 @@ class ProxyRepositoryImpl
|
|||||||
selectedTag: groupWithSelected[e.tag],
|
selectedTag: groupWithSelected[e.tag],
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
|
.filter((t) => t.isVisible)
|
||||||
.toList(),
|
.toList(),
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -31,6 +31,7 @@ class ProxyItemEntity with _$ProxyItemEntity {
|
|||||||
String get name => _sanitizedTag(tag);
|
String get name => _sanitizedTag(tag);
|
||||||
String? get selectedName =>
|
String? get selectedName =>
|
||||||
selectedTag == null ? null : _sanitizedTag(selectedTag!);
|
selectedTag == null ? null : _sanitizedTag(selectedTag!);
|
||||||
|
bool get isVisible => !tag.contains("§hide§");
|
||||||
}
|
}
|
||||||
|
|
||||||
String _sanitizedTag(String tag) =>
|
String _sanitizedTag(String tag) =>
|
||||||
|
|||||||
Reference in New Issue
Block a user