Merge branch 'dev' into fixes

This commit is contained in:
Isaac Wise
2024-08-18 13:21:02 -05:00
committed by GitHub
32 changed files with 956 additions and 302 deletions
+1 -1
View File
@@ -70,7 +70,7 @@ export default function UploadFileModal({ onClose }: Props) {
useEffect(() => {
setOptionsExpanded(false);
if (router.query.id) {
if (router.pathname.startsWith("/collections/") && router.query.id) {
const currentCollection = collections.find(
(e) => e.id == Number(router.query.id)
);