From 0f372c45babb485b9e18d900852a212e8fad88b1 Mon Sep 17 00:00:00 2001 From: flisowna Date: Mon, 27 Feb 2023 22:39:31 +0100 Subject: [PATCH] delete id entry from popup --- packages/nc-gui/components/smartsheet/Map.vue | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/packages/nc-gui/components/smartsheet/Map.vue b/packages/nc-gui/components/smartsheet/Map.vue index 150cb6dbd4..c8f6cbfa12 100644 --- a/packages/nc-gui/components/smartsheet/Map.vue +++ b/packages/nc-gui/components/smartsheet/Map.vue @@ -194,7 +194,7 @@ watch([formattedData, mapMetaData, markersClusterGroupRef], () => { } const listItems = Object.entries(row.row) - .filter(([key, val]) => val !== null) + .filter(([key, val]) => val !== null && key !== 'Id') .map(([key, val]) => { let prettyVal = val if (val !== null && (typeof val === 'object' || Array.isArray(val))) { @@ -206,7 +206,7 @@ watch([formattedData, mapMetaData, markersClusterGroupRef], () => { }) .join('') - const popupContent = `` + const popupContent = `` const [lat, long] = primaryGeoDataValue.split(';').map(parseFloat) @@ -282,7 +282,10 @@ const count = computed(() => paginationData.value.totalRows) max-height: 255px; overflow: scroll; } -.selectable { +.popup-content { user-select: text; + display: flex; + gap: 10px; + flex-direction: column; }