mirror of
https://github.com/thelounge/thelounge.git
synced 2024-05-16 05:07:02 +02:00
fix the mapping variable name for user modes
This commit is contained in:
parent
bdf730b5c2
commit
c426de9e7e
|
@ -1,7 +1,7 @@
|
|||
<template>
|
||||
<span
|
||||
:class="['user', {[nickColor]: store.state.settings.coloredNicks}, {active: active}]"
|
||||
:data-mode="mode ? modeName[mode] : null"
|
||||
:data-mode="mode ? modeCharToName[mode] : null"
|
||||
:data-name="user.nick"
|
||||
role="button"
|
||||
v-on="onHover ? {mouseenter: hover} : {}"
|
||||
|
@ -74,10 +74,8 @@ export default defineComponent({
|
|||
|
||||
const store = useStore();
|
||||
|
||||
const modeName = constants.modeCharToName;
|
||||
|
||||
return {
|
||||
modeName,
|
||||
modeCharToName: constants.modeCharToName,
|
||||
mode,
|
||||
nickColor,
|
||||
hover,
|
||||
|
|
Loading…
Reference in a new issue