mirror of
https://github.com/danbulant/Nertivia-Client
synced 2026-06-24 17:11:43 +00:00
fixed some bugs
This commit is contained in:
parent
e94620a60d
commit
2d7149c6bf
2 changed files with 1 additions and 2 deletions
|
|
@ -98,7 +98,7 @@ export default {
|
||||||
get() {
|
get() {
|
||||||
const channelsIds = this.$store.getters["servers/channelsIDs"][this.serverID];
|
const channelsIds = this.$store.getters["servers/channelsIDs"][this.serverID];
|
||||||
if (!channelsIds) {return false}
|
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) {
|
set(value) {
|
||||||
this.$store.dispatch('servers/setChannelIDs', {serverID: this.serverID, channelIDs: value.map(c => c.channelID)} )
|
this.$store.dispatch('servers/setChannelIDs', {serverID: this.serverID, channelIDs: value.map(c => c.channelID)} )
|
||||||
|
|
|
||||||
|
|
@ -28,7 +28,6 @@ const config = [
|
||||||
title: "Move servers",
|
title: "Move servers",
|
||||||
shortTitle: "",
|
shortTitle: "",
|
||||||
date: "08/11/2019",
|
date: "08/11/2019",
|
||||||
headColor: "#0c7b7f",
|
|
||||||
new: [
|
new: [
|
||||||
"You can now move servers to make your list more organized."
|
"You can now move servers to make your list more organized."
|
||||||
],
|
],
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue