Clean up ESLint warnings in main (#1616)
See title. The only place this changes behaviour is in the placeholder page list, which will be replaced by the real one shortly, so I'm going to just merge this.
This commit is contained in:
		
							parent
							
								
									21ae38362e
								
							
						
					
					
						commit
						41d6e79cb3
					
				| @ -66,9 +66,6 @@ export class Dialog extends SlDialog { | |||||||
|    * TODO refactor dialog instances that self implements `form.requestSubmit` |    * TODO refactor dialog instances that self implements `form.requestSubmit` | ||||||
|    */ |    */ | ||||||
|   submit = () => { |   submit = () => { | ||||||
|     const form = this.formElems[0]; |     this.formElems[0]?.requestSubmit(); | ||||||
|     if (!form) return; |  | ||||||
| 
 |  | ||||||
|     form.requestSubmit(); |  | ||||||
|   }; |   }; | ||||||
| } | } | ||||||
|  | |||||||
| @ -407,7 +407,7 @@ export class PageQAToolbar extends TailwindElement { | |||||||
|         }, |         }, | ||||||
|       ); |       ); | ||||||
| 
 | 
 | ||||||
|       this.fetchPage(); |       void this.fetchPage(); | ||||||
| 
 | 
 | ||||||
|       this.notify.toast({ |       this.notify.toast({ | ||||||
|         message: msg("Successfully deleted comment."), |         message: msg("Successfully deleted comment."), | ||||||
|  | |||||||
| @ -215,9 +215,7 @@ export class ArchivedItemQA extends TailwindElement { | |||||||
|             )} |             )} | ||||||
|           </ul> |           </ul> | ||||||
|           pg ${this.pages.page} of |           pg ${this.pages.page} of | ||||||
|           ${this.pages |           ${Math.ceil(this.pages.total / this.pages.pageSize)} | ||||||
|             ? Math.ceil(this.pages.total / this.pages.pageSize) |  | ||||||
|             : "unknown"} |  | ||||||
|         </section> |         </section> | ||||||
|       </article> |       </article> | ||||||
|     `;
 |     `;
 | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user