fix not selected

This commit is contained in:
j 2025-06-17 08:26:57 +02:00
parent 105ee4c917
commit a9e2c85ed7

View file

@ -507,7 +507,7 @@ class File(models.Model):
self.item.groups.filter(id__in=user.groups.all()).count() > 0
if 'instances' in data and 'filename' in self.info and self.data:
data['instances'].append({
'ignore': False,
'ignore': not self.selected,
'path': self.info['filename'],
'user': self.item.user.username if self.item and self.item.user else 'system',
'volume': 'Direct Upload'