Skip to content

Commit

Permalink
style: move class to array. It will be joined with others from there
Browse files Browse the repository at this point in the history
  • Loading branch information
MikiDi committed Apr 19, 2021
1 parent bf9bb1e commit 18ad68c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/components/access-level-pill.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export default class AccessLevelPillComponent extends Component {

get pillClass() {
const baseClass = 'auk-pill';
const classes = [baseClass];
const classes = [baseClass, 'auk-u-cursor-pointer'];
let modifier;
if (this.args.accessLevel) {
switch (this.args.accessLevel.id) {
Expand All @@ -51,7 +51,7 @@ export default class AccessLevelPillComponent extends Component {
classes.push(`${baseClass}--${modifier}`);
}
}
return `${classes.join(' ')} auk-u-cursor-pointer`;
return classes.join(' ');
}

get accessLevelLabel() {
Expand Down

0 comments on commit 18ad68c

Please sign in to comment.