Minor cleanup
This commit is contained in:
		@@ -201,6 +201,12 @@ export class MembersList {
 | 
			
		||||
    for (const m of list) {
 | 
			
		||||
      this.map.set(m.id, m);
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    this.list.sort((a, b) =>
 | 
			
		||||
      a.invertedFullName
 | 
			
		||||
        .toLowerCase()
 | 
			
		||||
        .localeCompare(b.invertedFullName.toLocaleLowerCase())
 | 
			
		||||
    );
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  public get isEmpty(): boolean {
 | 
			
		||||
 
 | 
			
		||||
@@ -1,11 +1,8 @@
 | 
			
		||||
import {
 | 
			
		||||
  Button,
 | 
			
		||||
  CircularProgress,
 | 
			
		||||
  Dialog,
 | 
			
		||||
  DialogActions,
 | 
			
		||||
  DialogContent,
 | 
			
		||||
  DialogContentText,
 | 
			
		||||
  DialogTitle,
 | 
			
		||||
} from "@mui/material";
 | 
			
		||||
import React, { PropsWithChildren } from "react";
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -1,13 +1,12 @@
 | 
			
		||||
import LinkIcon from "@mui/icons-material/Link";
 | 
			
		||||
import UploadIcon from "@mui/icons-material/Upload";
 | 
			
		||||
import { Button } from "@mui/material";
 | 
			
		||||
import { filesize } from "filesize";
 | 
			
		||||
import React from "react";
 | 
			
		||||
import { Area } from "react-easy-crop";
 | 
			
		||||
import { ServerApi } from "../../api/ServerApi";
 | 
			
		||||
import { ImageCropperDialog } from "../../dialogs/ImageCropperDialog";
 | 
			
		||||
import { useAlert } from "../../hooks/context_providers/AlertDialogProvider";
 | 
			
		||||
import { Area } from "react-easy-crop";
 | 
			
		||||
import getCroppedImg from "../../utils/crop_image";
 | 
			
		||||
import UploadIcon from "@mui/icons-material/Upload";
 | 
			
		||||
import LinkIcon from "@mui/icons-material/Link";
 | 
			
		||||
import { isDebug } from "../../utils/debug_utils";
 | 
			
		||||
import { selectFileToUpload } from "../../utils/files_utils";
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user