feat: add Maison Work source type, rename ExternalMarket to Direktinserat, hide own portfolio from demand search by default
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -50,12 +50,12 @@ export function useUnifiedResults(needId?: string) {
|
||||
const property = properties.find(p => p.id === (match.resultId ?? match.propertyId))
|
||||
if (!property) return []
|
||||
|
||||
if (rt === 'EXTERNAL_MARKET') {
|
||||
if (rt === 'EXTERNAL_MARKET' || rt === 'MAISON_WORK') {
|
||||
const result: ExternalMarketResult = {
|
||||
matchId: match.id,
|
||||
needId: match.needId,
|
||||
matchScore: match.matchScore,
|
||||
resultType: 'EXTERNAL_MARKET',
|
||||
resultType: rt as 'EXTERNAL_MARKET' | 'MAISON_WORK',
|
||||
property,
|
||||
match,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user