Просмотр исходного кода

Merge pull request #795 from visuddhinanda/laravel

:bug: 注疏channel 没数据时按钮disable
visuddhinanda 4 лет назад
Родитель
Сommit
daa31a201f
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      public/app/term/note.js

+ 1 - 1
public/app/term/note.js

@@ -471,7 +471,7 @@ function edition_list_changed(channelId){
 }
 function find_channal(id) {
 	for (const iterator of _channalData) {
-		if (id == iterator.id) {
+		if (id == iterator.id || id == iterator.uid) {
 			return iterator;
 		}
 	}