Minor: fix style and icon of switch to student button

pull/4759/head
Daniel Gayoso González 1 year ago
parent 2b647a35f4
commit 4f6244547b
  1. 4
      assets/vue/components/StudentViewButton.vue
  2. 1
      assets/vue/components/basecomponents/BaseToggleButton.vue

@ -4,8 +4,8 @@
v-model="isStudentView"
:off-label="t('Switch to student view')"
:on-label="t('Switch to teacher view')"
off-icon="eye"
on-icon="eye"
off-icon="eye-off"
on-icon="eye-on"
/>
</template>

@ -5,6 +5,7 @@
:off-label="offLabel"
:on-icon="chamiloIconToClass[onIcon]"
:on-label="onLabel"
class="cursor-pointer"
@change="$emit('update:modelValue', primeModelValue)"
/>
</template>

Loading…
Cancel
Save