UI/Fix snowman that appears when namespaces have more than one period (#8910)

This commit is contained in:
Chelsea Shaw 2020-05-01 12:06:32 -05:00 committed by GitHub
parent a6809fdbaf
commit ddeec8ab0b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -14,7 +14,7 @@ export default Component.extend({
normalizedNamespace: computed('targetNamespace', function() {
let ns = this.get('targetNamespace');
return (ns || '').replace(/\.+/g, '/').replace('☃', '.');
return (ns || '').replace(/\.+/g, '/').replace(/☃/g, '.');
}),
namespaceDisplay: computed('normalizedNamespace', 'showLastSegment', function() {