Skip to content

Commit

Permalink
Merged in bugfix/SHIBUI-376 (pull request #8)
Browse files Browse the repository at this point in the history
SHIBUI-376: Fixed issue with xml pipe

Approved-by: Ryan Mathis <rmathis@unicon.net>
  • Loading branch information
rmathis committed Mar 13, 2018
1 parent fb24dba commit bd8c801
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ui/src/app/metadata-provider/pipe/pretty-xml.pipe.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
import { Pipe, PipeTransform } from '@angular/core';
import XmlFormatter from 'xml-formatter';
import * as XmlFormatter from 'xml-formatter';

@Pipe({ name: 'prettyXml' })
export class PretttyXml implements PipeTransform {
transform(value: string): string {
console.log(XmlFormatter);
if (!value) {
return value;
}
Expand Down

0 comments on commit bd8c801

Please sign in to comment.