Add callback url for Slack
This commit is contained in:
parent
24c9363f0c
commit
815d1a4dcd
1 changed files with 8 additions and 0 deletions
|
@ -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('/');
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue