chore: fix typos (#3490)
This commit is contained in:
committed by
GitHub
parent
406d4f7884
commit
d729701bd4
@@ -170,12 +170,12 @@ export const useUploadStore = defineStore("upload", {
|
||||
async processUploads() {
|
||||
const uploadsCount = Object.keys(this.uploads).length;
|
||||
|
||||
const isBellowLimit = uploadsCount < UPLOADS_LIMIT;
|
||||
const isBelowLimit = uploadsCount < UPLOADS_LIMIT;
|
||||
const isQueueEmpty = this.queue.length == 0;
|
||||
const isUploadsEmpty = uploadsCount == 0;
|
||||
|
||||
const isFinished = isQueueEmpty && isUploadsEmpty;
|
||||
const canProcess = isBellowLimit && !isQueueEmpty;
|
||||
const canProcess = isBelowLimit && !isQueueEmpty;
|
||||
|
||||
if (isFinished) {
|
||||
const fileStore = useFileStore();
|
||||
|
||||
Reference in New Issue
Block a user