Add callback url for Slack

This commit is contained in:
Jonathan Cremin 2018-04-19 22:22:49 +01:00
parent 24c9363f0c
commit 815d1a4dcd

View file

@ -1,5 +1,9 @@
<template>
<div class="home container">
<div class="notification is-success" v-if="slack">
<button class="delete" v-on:click="slack = false;closeNotification()"></button>
Combine.fm has been added to your Slack workspace!
</div>
<search></search>
<div class="blurb">
<p>
@ -70,6 +74,7 @@ export default {
data() {
return {
recents: {},
slack: this.$route.query.slack,
};
},
watch: {
@ -90,6 +95,9 @@ export default {
this.recents = this.$store.state.recents;
}
},
closeNotification() {
this.$router.replace('/');
},
},
};