Skip to content

Commit

Permalink
fix:capatize the string
Browse files Browse the repository at this point in the history
  • Loading branch information
Raunaksingh100 committed Oct 5, 2020
1 parent b640134 commit 9b98ab7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
3 changes: 3 additions & 0 deletions app/models/social-link.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import attr from 'ember-data/attr';
import ModelBase from 'open-event-frontend/models/base';
import { belongsTo } from 'ember-data/relationships';
import { computedSegmentedLink, socialPlatforms } from 'open-event-frontend/utils/computed-helpers';
import { capitalize } from 'lodash-es';

export default ModelBase.extend({
name : attr('string'),
Expand Down Expand Up @@ -32,3 +33,5 @@ export default ModelBase.extend({

segmentedLink: computedSegmentedLink.bind(this)('link')
});

_.capitalize('normalizedName');
4 changes: 0 additions & 4 deletions app/styles/pages/public-event.scss
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,3 @@
.event-map > iframe.g-map {
height: 300px;
}

div#ember284 a {
text-transform: capitalize;
}

0 comments on commit 9b98ab7

Please sign in to comment.