From 1d20ea8b794dc6b6ec3775be34ce94ddfbbd63f3 Mon Sep 17 00:00:00 2001 From: BuckarooBanzay Date: Tue, 23 Jul 2024 10:17:08 +0200 Subject: [PATCH] remove warning for sqlite database files --- public/js/components/pages/filebrowser/Filebrowser.js | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/public/js/components/pages/filebrowser/Filebrowser.js b/public/js/components/pages/filebrowser/Filebrowser.js index 19e44d65..50081ec9 100644 --- a/public/js/components/pages/filebrowser/Filebrowser.js +++ b/public/js/components/pages/filebrowser/Filebrowser.js @@ -14,7 +14,6 @@ import { import format_size from "../../../util/format_size.js"; import format_time from "../../../util/format_time.js"; import { START, FILEBROWSER } from "../../Breadcrumb.js"; -import { get_maintenance } from "../../../service/stats.js"; import { can_edit } from "./common.js"; export default { @@ -34,7 +33,6 @@ export default { }; }, methods: { - get_maintenance, format_size, format_time, get_zip_url, @@ -114,9 +112,6 @@ export default { }); }, can_edit: can_edit, - is_database: function(filename) { - return filename.match(/.*(sqlite|sqlite-shm|sqlite-wal)$/i); - }, is_json_profile: function(filename) { return filename.match(/^profile-.*.json$/); }, @@ -242,7 +237,7 @@ export default { - + @@ -251,7 +246,6 @@ export default { {{item.name}} -