mirror of
https://github.com/danbulant/Nertivia-Client
synced 2026-06-13 11:31:41 +00:00
change tab to dms when clicking on "message"
This commit is contained in:
parent
2ffe99be9b
commit
e85d30dbdc
1 changed files with 2 additions and 0 deletions
|
|
@ -58,6 +58,7 @@
|
|||
</div>
|
||||
</template>
|
||||
<script>
|
||||
import {bus} from '@/main'
|
||||
import config from "@/config.js";
|
||||
import Spinner from "@/components/Spinner.vue";
|
||||
import profilePicture from "@/components/ProfilePictureTemplate.vue";
|
||||
|
|
@ -104,6 +105,7 @@ export default {
|
|||
);
|
||||
},
|
||||
openChat() {
|
||||
bus.$emit('changeTab', 1)
|
||||
this.$store.dispatch("openChat", {
|
||||
uniqueID: this.uniqueID,
|
||||
channelName: this.user.username
|
||||
|
|
|
|||
Loading…
Reference in a new issue