Remove legacy sharing from frontend

This commit is contained in:
Max Berger
2026-03-28 09:36:29 +01:00
parent 5ab80a8779
commit 69a6a61ef8
4 changed files with 3 additions and 8 deletions

View File

@@ -99,8 +99,7 @@ export class IncomingSharingScene {
let prefix = "/" + user + "/";
let filtered_shares = shares.filter(
// TODO: Eventually remove bday
share => (share.ShareType === "map" || share.ShareType === "bday")
share => (share.ShareType === "map")
&& share.PathOrToken.startsWith(prefix));
if (filtered_shares.length === 0) {