Preview:
    getMasterName(index) { 
      const types = new Set()
			this.request.details.buildings[index].details.usages?.forEach((usage) => types.add(usage?.masterUsageId))
      const data = Array.from(types).map((masterUsageId) => {
        debugger
				const filterdData = this?.masterUsages.filter((i) => i?.id == masterUsageId)
				return {
					masterUsageId: masterUsageId,
					name: filterdData[0]?.name,
					// items: filterdData,
				}
			})
			return data

    },
downloadDownload PNG downloadDownload JPEG downloadDownload SVG

Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!

Click to optimize width for Twitter