Fix trim history when owned by a team

pull/1/head
yflory 2020-02-25 15:12:54 +01:00
parent 492e9496c8
commit 4f9862de71
1 changed files with 2 additions and 2 deletions

View File

@ -455,7 +455,7 @@ define([
var team = priv.teams[id] || {};
if (team.viewer) { return; }
if (data.owners.indexOf(team.edPublic) === -1) { return; }
owned = id;
owned = Number(id);
return true;
});
}
@ -750,7 +750,7 @@ define([
var team = priv.teams[id] || {};
if (team.viewer) { return; }
if (data.owners.indexOf(team.edPublic) === -1) { return; }
owned = id;
owned = Number(id);
return true;
});
}