Cleanup
This commit is contained in:
parent
1ac2f3f153
commit
e0161dc072
|
@ -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 };
|
||||||
|
|
|
@ -222,6 +222,4 @@ export default class UserView extends Vue {
|
||||||
|
|
||||||
export default UserView;
|
export default UserView;
|
||||||
*/
|
*/
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue