I am dumb

This commit is contained in:
Rinpatch 2018-12-12 20:01:37 +03:00
parent 5ca2e75df3
commit 9c24ac1d05

View File

@ -72,7 +72,6 @@ const UserSettings = {
const file = e.target.files[0]
if (!file) { return }
var limit = [this.$store.state.instance.avatarlimit, this.$store.state.instance.bannerlimit, this.$store.state.instance.backgroundlimit]
console.log(file.size, limit)
if (file.size > limit[slot]) {
const filesize = fileSizeFormatService.fileSizeFormat(file.size)
const allowedsize = fileSizeFormatService.fileSizeFormat(limit[slot])