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