fix: collaborator detection in backend and frontend
modify: backend build script revert: clean search bar on create/edit in frontend update: API urls in frontend
This commit is contained in:
@@ -6,5 +6,5 @@ cd ..
|
||||
cd huertos/ || exit
|
||||
mvn clean package
|
||||
cd ..
|
||||
scp core/target/core-*.jar root@huertosbellavista.es:/root/transfer
|
||||
scp huertos/target/huertos-*.jar root@huertosbellavista.es:/root/transfer
|
||||
scp core/target/core-*.jar root@159.69.155.167:/root/transfer
|
||||
scp huertos/target/huertos-*.jar root@159.69.155.167:/root/transfer
|
||||
@@ -4,7 +4,7 @@ import es.huertosbellavista.backend.huertos.dto.DropdownDto;
|
||||
import es.huertosbellavista.backend.huertos.dto.MemberDto;
|
||||
import es.huertosbellavista.backend.huertos.dto.MemberProfileDto;
|
||||
import es.huertosbellavista.backend.huertos.dto.WaitlistCensoredDto;
|
||||
import net.miarma.backend.huertos.dto.*;
|
||||
import es.huertosbellavista.backend.huertos.dto.*;
|
||||
import es.huertosbellavista.backend.huertos.dto.view.VIncomesWithInfoDto;
|
||||
import es.huertosbellavista.backend.huertos.security.HuertosPrincipal;
|
||||
import es.huertosbellavista.backend.huertos.service.MemberService;
|
||||
|
||||
@@ -3,7 +3,7 @@ package es.huertosbellavista.backend.huertos.controller;
|
||||
import es.huertosbellavista.backend.huertos.dto.RequestCountDto;
|
||||
import es.huertosbellavista.backend.huertos.dto.RequestDto;
|
||||
import es.huertosbellavista.backend.huertos.dto.RequestWithMetadataDto;
|
||||
import net.miarma.backend.huertos.dto.*;
|
||||
import es.huertosbellavista.backend.huertos.dto.*;
|
||||
import es.huertosbellavista.backend.huertos.mapper.RequestMapper;
|
||||
import es.huertosbellavista.backend.huertos.mapper.RequestWithMetadataMapper;
|
||||
import es.huertosbellavista.backend.huertos.model.Request;
|
||||
|
||||
@@ -178,7 +178,8 @@
|
||||
.toList();
|
||||
|
||||
return plotMembers.stream()
|
||||
.anyMatch(dto -> dto.metadata().getType().equals((byte)3));
|
||||
.anyMatch(dto -> dto.metadata().getType().equals((byte)3) ||
|
||||
dto.metadata().getType().equals((byte)0));
|
||||
}
|
||||
|
||||
public Boolean hasGreenhouse(Integer memberNumber) {
|
||||
|
||||
Reference in New Issue
Block a user