Changeset View
Changeset View
Standalone View
Standalone View
src/resources/vue/Rooms.vue
Show First 20 Lines • Show All 59 Lines • ▼ Show 20 Lines | export default { | ||||
data() { | data() { | ||||
return { | return { | ||||
rooms: [], | rooms: [], | ||||
href: '', | href: '', | ||||
roomRoute: '' | roomRoute: '' | ||||
} | } | ||||
}, | }, | ||||
mounted() { | mounted() { | ||||
if (!this.$root.hasBeta('meet')) { | if (!this.$root.hasSKU('meet')) { | ||||
this.$root.errorPage(403) | this.$root.errorPage(403) | ||||
return | return | ||||
} | } | ||||
this.$root.startLoading() | this.$root.startLoading() | ||||
axios.get('/api/v4/openvidu/rooms') | axios.get('/api/v4/openvidu/rooms') | ||||
.then(response => { | .then(response => { | ||||
Show All 12 Lines |