mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
fix(schematics): drag-drop schematic two consecutive commas (#14446)
Similar to https://github.com/angular/material2/commit/dd6065cec47647980291bd2c24067cdc71966f33#diff-0971fc26ab0589f93c1344ce29da61e4, we should also fix the issue for the drag-drop schematic.
This commit is contained in:
committed by
vivian-hu
parent
e44cc52215
commit
35fd998a08
+2
-2
@@ -11,8 +11,8 @@ import { CdkDragDrop, moveItemInArray, transferArrayItem } from '@angular/cdk/dr
|
||||
<%= indentTextContent(resolvedFiles.stylesheet, 4) %>
|
||||
`],<% } else { %>
|
||||
styleUrls: ['./<%= dasherize(name) %>.component.<%= styleext %>'],<% } %><% if(!!viewEncapsulation) { %>
|
||||
encapsulation: ViewEncapsulation.<%= viewEncapsulation %><% } if (changeDetection !== 'Default') { %>,
|
||||
changeDetection: ChangeDetectionStrategy.<%= changeDetection %><% } %>
|
||||
encapsulation: ViewEncapsulation.<%= viewEncapsulation %>,<% } if (changeDetection !== 'Default') { %>
|
||||
changeDetection: ChangeDetectionStrategy.<%= changeDetection %>,<% } %>
|
||||
})
|
||||
export class <%= classify(name) %>Component {
|
||||
todo = [
|
||||
|
||||
Reference in New Issue
Block a user