Browse Source

使用新的字段uid

Bhikkhu-Kosalla 4 years ago
parent
commit
b22d6993ec
2 changed files with 2 additions and 2 deletions
  1. 1 1
      public/app/channal/channal.js
  2. 1 1
      public/app/group/group.js

+ 1 - 1
public/app/channal/channal.js

@@ -23,7 +23,7 @@ function channal_list() {
 
 function channal_getById(id) {
 	for (const iterator of _my_channal) {
-		if (iterator.id == id) {
+		if (iterator.uid == id) {
 			return iterator;
 		}
 	}

+ 1 - 1
public/app/group/group.js

@@ -31,7 +31,7 @@ function channal_list() {
 
 function channal_getById(id) {
 	for (const iterator of _my_channal) {
-		if (iterator.id == id) {
+		if (iterator.uid == id) {
 			return iterator;
 		}
 	}