Skip to content

Commit

Permalink
Add support for specifying chat alert colors
Browse files Browse the repository at this point in the history
  • Loading branch information
DispatchCommit committed May 24, 2020
1 parent 333a6ca commit 31ee819
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/Chat/Chat.vue
Original file line number Diff line number Diff line change
Expand Up @@ -496,7 +496,7 @@
_id: data._id,
type: 'alert',
message: data.message,
color: 'primary',
color: data.color || 'primary',
};
this.messages.push( Object.freeze( m ) );
Expand Down

0 comments on commit 31ee819

Please sign in to comment.