This commit is contained in:
Mr. Stallion 2020-03-17 19:52:28 -05:00
parent 1ac2f3f153
commit e0161dc072
2 changed files with 2 additions and 4 deletions

View File

@ -278,7 +278,7 @@
sheet.insertRule(`.form-control, select.form-control { line-height: 1.428571429 }`, sheet.cssRules.length); sheet.insertRule(`.form-control, select.form-control { line-height: 1.428571429 }`, sheet.cssRules.length);
} }
getOnlineStatusIconClasses(conversation: PrivateConversation) { getOnlineStatusIconClasses(conversation: PrivateConversation): Record<string, any> {
const status = conversation.character.status; const status = conversation.character.status;
const styling = { const styling = {
@ -289,7 +289,7 @@
busy: { color: 'away', icon: ['fas', 'fa-circle'] }, busy: { color: 'away', icon: ['fas', 'fa-circle'] },
idle: { color: 'away', icon: ['fas', 'fa-circle'] }, idle: { color: 'away', icon: ['fas', 'fa-circle'] },
dnd: { color: 'away', icon: ['fas', 'fa-circle'] }, dnd: { color: 'away', icon: ['fas', 'fa-circle'] },
away: { color: 'away', icon: ['fas', 'fa-circle'] }, away: { color: 'away', icon: ['fas', 'fa-circle'] }
}; };
const cls = { [styling[status].color]: true }; const cls = { [styling[status].color]: true };

View File

@ -222,6 +222,4 @@ export default class UserView extends Vue {
export default UserView; export default UserView;
*/ */
</script> </script>