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> <template>
<div class="home container"> <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> <search></search>
<div class="blurb"> <div class="blurb">
<p> <p>
@ -70,6 +74,7 @@ export default {
data() { data() {
return { return {
recents: {}, recents: {},
slack: this.$route.query.slack,
}; };
}, },
watch: { watch: {
@ -90,6 +95,9 @@ export default {
this.recents = this.$store.state.recents; this.recents = this.$store.state.recents;
} }
}, },
closeNotification() {
this.$router.replace('/');
},
}, },
}; };