mirror of
https://github.com/KevinMidboe/seasoned.git
synced 2026-05-02 04:18:09 +00:00
Fixes table sort for file size (#86)
* Fixed algorithm to de-humanize size string to bytes * Resolved linting issues
This commit is contained in:
@@ -20,7 +20,7 @@
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
import { ref, inject, defineProps } from "vue";
|
||||
import { ref, watch, inject, defineProps } from "vue";
|
||||
import { useStore } from "vuex";
|
||||
import Loader from "@/components/ui/Loader.vue";
|
||||
import TorrentTable from "@/components/torrent/TorrentTable.vue";
|
||||
@@ -96,6 +96,8 @@
|
||||
});
|
||||
}
|
||||
|
||||
watch(props, newValue => newValue?.query?.length && fetchTorrents());
|
||||
|
||||
fetchTorrents();
|
||||
</script>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user