Increase abuse report expand threshold

This commit is contained in:
2021-08-09 17:10:10 +02:00
parent e1da72c88a
commit d76b26b6d0
2 changed files with 3 additions and 3 deletions

View File

@@ -7,8 +7,8 @@
<script> <script>
window.api_endpoint = '{{.APIEndpoint}}'; window.api_endpoint = '{{.APIEndpoint}}';
</script> </script>
<link rel='stylesheet' href='/res/svelte/user_file_manager.css'> <link rel='stylesheet' href='/res/svelte/user_file_manager.css?v1'>
<script defer src='/res/svelte/user_file_manager.js'></script> <script defer src='/res/svelte/user_file_manager.js?v1'></script>
</head> </head>
<body> <body>

View File

@@ -31,7 +31,7 @@ let set_status = async (action, report_type) => {
} }
</script> </script>
<Expandable bind:this={expandable} expanded={report.status === "pending" && report.reports.length > 1}> <Expandable bind:this={expandable} expanded={report.status === "pending" && report.reports.length > 2}>
<div slot="header" class="header" on:click={expandable.toggle}> <div slot="header" class="header" on:click={expandable.toggle}>
<div class="icon_cell"> <div class="icon_cell">
<img class="file_icon" src={"/api/file/"+report.file.id+"/thumbnail"} alt="File thumbnail"/> <img class="file_icon" src={"/api/file/"+report.file.id+"/thumbnail"} alt="File thumbnail"/>