forked from mirrors/misskey
Fix lint issues in Drive components (#8613)
* fix(client): Fix lint issues in Drive components * fix(client): only use !=/== for null comparisons * Update drive.vue Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
This commit is contained in:
@@ -42,7 +42,7 @@ const is = computed(() => {
|
||||
"application/x-tar",
|
||||
"application/gzip",
|
||||
"application/x-7z-compressed"
|
||||
].some(e => e === props.file.type)) return 'archive';
|
||||
].some(archiveType => archiveType === props.file.type)) return 'archive';
|
||||
return 'unknown';
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user