fixed some bugs

This commit is contained in:
supertiger1234 2019-11-12 21:00:55 +00:00
parent e94620a60d
commit 2d7149c6bf
2 changed files with 1 additions and 2 deletions

View file

@ -98,7 +98,7 @@ export default {
get() {
const channelsIds = this.$store.getters["servers/channelsIDs"][this.serverID];
if (!channelsIds) {return false}
return channelsIds.map(id => this.channels[id])
return channelsIds.map(id => this.channels[id]).filter(c => c.server_id === this.serverID)
},
set(value) {
this.$store.dispatch('servers/setChannelIDs', {serverID: this.serverID, channelIDs: value.map(c => c.channelID)} )

View file

@ -28,7 +28,6 @@ const config = [
title: "Move servers",
shortTitle: "",
date: "08/11/2019",
headColor: "#0c7b7f",
new: [
"You can now move servers to make your list more organized."
],