| Index: client/lib/components/category.dart
|
| diff --git a/client/lib/components/category.dart b/client/lib/components/category.dart
|
| index c60892757a9cf94ebc5536c0da3f2f8a28446c2f..afff1d9c6576a9254d95c1ca29a045c3a97cccfd 100644
|
| --- a/client/lib/components/category.dart
|
| +++ b/client/lib/components/category.dart
|
| @@ -23,6 +23,7 @@ class CategoryElement extends DartdocElement {
|
| // null. We do it this way to keep the <template if> outside of the
|
| // <template repeat>, so the repeat is more strongly typed.
|
| @published ObservableList<Item> items;
|
| + @published ObservableList<Typedef> typedefs;
|
| @published ObservableList<Variable> variables;
|
| @published ObservableList<Method> methods;
|
|
|
| @@ -63,11 +64,13 @@ class CategoryElement extends DartdocElement {
|
| void itemsChanged() => _updateHasItems();
|
| void variablesChanged() => _updateHasItems();
|
| void methodsChanged() => _updateHasItems();
|
| + void typedefsChanged() => _updateHasItems();
|
|
|
| void _updateHasItems() {
|
| hasItems = items != null && items.isNotEmpty ||
|
| variables != null && variables.isNotEmpty ||
|
| - methods != null && methods.isNotEmpty;
|
| + methods != null && methods.isNotEmpty ||
|
| + typedefs != null && typedefs.isNotEmpty;
|
| }
|
|
|
| void hideShow(event, detail, AnchorElement target) {
|
|
|