Commit 2b2d1814308ee0450c212798f8d4981f88ce6784

Authored by Amber Dev
1 parent 0b7006a1ca

added live session for teacher

src/pages/Course/courseDetail.vue
... ... @@ -449,6 +449,15 @@
449 449 <td class="text-xs-center td td-row">{{ props.item.description }}</td>
450 450 <td class="text-xs-center td td-row">
451 451 <v-tooltip top>
  452 + <v-icon
  453 + slot="activator"
  454 + style="cursor:pointer;font-size:22px;position: relative;top: -4px; "
  455 + class="mr-3"
  456 + @click="$router.push({name: 'Live Online Class'})"
  457 + >video_call</v-icon>
  458 + <span>Live Session</span>
  459 + </v-tooltip>
  460 + <v-tooltip top>
452 461 <img
453 462 slot="activator"
454 463 style="cursor:pointer; width:25px; height:25px; "
... ...
src/pages/Dashboard/LiveOnlineClass.vue
... ... @@ -184,7 +184,7 @@
184 184 <v-spacer></v-spacer>
185 185  
186 186 <!-- COURSES - positioned to the right of the page -->
187   - <v-flex xs12 sm12 md3>
  187 + <v-flex xs12 sm12 md3 v-if=" $store.state.role === 'PARENT' ">
188 188 <v-card class="elevation-0 card-border" height="100%">
189 189 <v-container class="pt-0">
190 190 <div class="side-bar-color font-weight-bold title">Courses</div>
... ...