mirror of
https://github.com/danbulant/Nertivia-Client
synced 2026-06-21 15:41:51 +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>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
<script>
|
<script>
|
||||||
|
import {bus} from '@/main'
|
||||||
import config from "@/config.js";
|
import config from "@/config.js";
|
||||||
import Spinner from "@/components/Spinner.vue";
|
import Spinner from "@/components/Spinner.vue";
|
||||||
import profilePicture from "@/components/ProfilePictureTemplate.vue";
|
import profilePicture from "@/components/ProfilePictureTemplate.vue";
|
||||||
|
|
@ -104,6 +105,7 @@ export default {
|
||||||
);
|
);
|
||||||
},
|
},
|
||||||
openChat() {
|
openChat() {
|
||||||
|
bus.$emit('changeTab', 1)
|
||||||
this.$store.dispatch("openChat", {
|
this.$store.dispatch("openChat", {
|
||||||
uniqueID: this.uniqueID,
|
uniqueID: this.uniqueID,
|
||||||
channelName: this.user.username
|
channelName: this.user.username
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue