Skip to content

Commit

Permalink
update UI for tab text in table
Browse files Browse the repository at this point in the history
  • Loading branch information
lixun910 committed Aug 4, 2024
1 parent 9ef3cc3 commit 9832348
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion src/components/src/modals/data-table-modal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@ export const DatasetModalTab = styled.div<DatasetModalTabProps>`
padding: 0 5px;
:hover {
border-bottom: 3px solid black;
}
`;

Expand Down
2 changes: 1 addition & 1 deletion src/reducers/src/vis-state-updaters.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2373,7 +2373,7 @@ export function addDefaultLayers(
return foundLayers && foundLayers.length ? accu.concat(foundLayers) : accu;
}, empty);

// For GeoDa.AI only: check if there is geojson layer in defaultLayers
// For GeoDa.AI only: create one of the following layers only
let newLayer = defaultLayers.find(l => l.type === 'geojson');
if (!newLayer) newLayer = defaultLayers.find(l => l.type === 'point');
if (!newLayer) newLayer = defaultLayers.find(l => l.type === 'line');
Expand Down

0 comments on commit 9832348

Please sign in to comment.