Skip to content

Commit

Permalink
Review feedback
Browse files Browse the repository at this point in the history
Signed-off-by: michael sorens <msorens@chef.io>
  • Loading branch information
msorens committed Aug 12, 2019
1 parent ce5d59c commit fbdbf17
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,6 @@ export class ProfileOverviewComponent implements OnInit, OnDestroy {
onFilesSelected(event) {
this.sendFiles(Array.from(event.target.files)).subscribe({
next: fileUploads => { this.fileUploads = fileUploads; },
error: null,
complete: () => {
this.refreshProfiles();
const failures = this.fileUploads.some(f => f.failed);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ export class NodesAddComponent implements OnInit {
this.fetchSecrets(),
this.backendValue
]).pipe(
map(([secrets, backend]: [any[], string]) =>
map(([secrets, backend]: [{ type: string }[], string]) =>
secrets.filter(s => s.type === backend || s.type === 'sudo'))
);
}
Expand Down

0 comments on commit fbdbf17

Please sign in to comment.