This commit is contained in:
		| @@ -128,7 +128,13 @@ class TfElement extends LitElement { | |||||||
| 	} | 	} | ||||||
|  |  | ||||||
| 	next_channel(delta) { | 	next_channel(delta) { | ||||||
| 		let channel_names = ['', '@', '🔐', '👍', ...this.channels.map((x) => '#' + x)]; | 		let channel_names = [ | ||||||
|  | 			'', | ||||||
|  | 			'@', | ||||||
|  | 			'🔐', | ||||||
|  | 			'👍', | ||||||
|  | 			...this.channels.map((x) => '#' + x), | ||||||
|  | 		]; | ||||||
| 		let index = channel_names.indexOf(this.hash.substring(1)); | 		let index = channel_names.indexOf(this.hash.substring(1)); | ||||||
| 		index = index != -1 ? index + delta : 0; | 		index = index != -1 ? index + delta : 0; | ||||||
| 		tfrpc.rpc.setHash( | 		tfrpc.rpc.setHash( | ||||||
|   | |||||||
| @@ -230,11 +230,7 @@ class TfTabNewsFeedElement extends LitElement { | |||||||
| 					UNION | 					UNION | ||||||
| 					SELECT TRUE AS is_primary, * FROM votes | 					SELECT TRUE AS is_primary, * FROM votes | ||||||
| 				`, | 				`, | ||||||
| 				[ | 				[JSON.stringify(this.following), start_time, end_time] | ||||||
| 					JSON.stringify(this.following), |  | ||||||
| 					start_time, |  | ||||||
| 					end_time, |  | ||||||
| 				] |  | ||||||
| 			); | 			); | ||||||
| 		} else { | 		} else { | ||||||
| 			let t0 = new Date(); | 			let t0 = new Date(); | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user