mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
fix(schematics): remove unnecessary semicolon in tree component (#13284)
add space after semicolon
This commit is contained in:
committed by
Jeremy Elbourn
parent
0ccdfc8e5b
commit
8558878274
+1
-1
@@ -7,7 +7,7 @@
|
||||
{{node.name}}
|
||||
</mat-tree-node>
|
||||
|
||||
<mat-tree-node *matTreeNodeDef="let node;when: hasChild" matTreeNodePadding>
|
||||
<mat-tree-node *matTreeNodeDef="let node; when: hasChild" matTreeNodePadding>
|
||||
<button mat-icon-button matTreeNodeToggle
|
||||
[attr.aria-label]="'toggle ' + node.name">
|
||||
<mat-icon class="mat-icon-rtl-mirror">
|
||||
|
||||
+1
-1
@@ -76,7 +76,7 @@ export class <%= classify(name) %>Component {
|
||||
/** Get whether the node is expanded or not. */
|
||||
isExpandable(node: FlatTreeNode) {
|
||||
return node.expandable;
|
||||
};
|
||||
}
|
||||
|
||||
/** Get whether the node has children or not. */
|
||||
hasChild(index: number, node: FlatTreeNode) {
|
||||
|
||||
Reference in New Issue
Block a user