Commit 3d7355ff authored by jackie / Andrea Ida Malkah Klaura's avatar jackie / Andrea Ida Malkah Klaura
Browse files

fix linting; remove debugging info

parent a63f9c73
......@@ -55,7 +55,6 @@ export default {
}
},
created () {
console.log("auth::init");
this.$store.dispatch('auth/oidcInit')
},
methods: {
......
......@@ -78,7 +78,6 @@ export default {
// This switches the UI elements to reflect another show and fetches all
// relevent data from the tank API.
showHasSwitched () {
this.$log.debug('show has switched to', this.selectedShow.name)
this.$store.dispatch('files/fetchFiles', {
slug: this.selectedShow.slug
})
......
......@@ -7,8 +7,12 @@
<table class="table b-table table-striped border">
<thead>
<tr>
<th class="top-header">Schedules</th>
<th class="top-header text-right font-weight-normal">{{ schedules.length }} schedules</th>
<th class="top-header">
Schedules
</th>
<th class="top-header text-right font-weight-normal">
{{ schedules.length }} schedules
</th>
</tr>
</thead>
......@@ -27,12 +31,18 @@
</tbody>
</table>
<div v-if="isExpandable" class="collapser">
<div
v-if="isExpandable"
class="collapser"
>
click to collapse
</div>
</div>
<div class="border p-4 mb-4" v-else>
<div
v-else
class="border p-4 mb-4"
>
There are currently no schedules for this show.
</div>
</template>
......@@ -75,12 +85,10 @@
},
getSchedules() {
this.$store.dispatch('shows/fetchSchedules', { show: this.selectedShow.id, callback: console.log })
this.$store.dispatch('shows/fetchSchedules', { show: this.selectedShow.id })
},
renderRruleForSchedule(schedule) {
console.log(uppercaseFirst(this.rruleRender(schedule.rrule)));
if (schedule.rrule < 3) {
return uppercaseFirst(this.rruleRender(schedule.rrule))
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment