You've already forked filebrowser
mirror of
https://github.com/filebrowser/filebrowser.git
synced 2025-11-26 14:25:26 +08:00
fix: display file size as base 2 (KiB instead of KB) (#2779)
This commit is contained in:
@@ -81,7 +81,7 @@
|
||||
|
||||
<script>
|
||||
import { mapState, mapGetters } from "vuex";
|
||||
import { filesize } from "filesize";
|
||||
import { filesize } from "@/utils";
|
||||
import moment from "moment";
|
||||
import { files as api } from "@/api";
|
||||
|
||||
@@ -142,7 +142,7 @@ export default {
|
||||
try {
|
||||
const hash = await api.checksum(link, algo);
|
||||
// eslint-disable-next-line
|
||||
event.target.innerHTML = hash
|
||||
event.target.innerHTML = hash;
|
||||
} catch (e) {
|
||||
this.$showError(e);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user