diff --git a/client/src/components/AdvisorReports/OrganizationAdvisorsTable.js b/client/src/components/AdvisorReports/OrganizationAdvisorsTable.js
index 712e736866..c2aa5f5c02 100644
--- a/client/src/components/AdvisorReports/OrganizationAdvisorsTable.js
+++ b/client/src/components/AdvisorReports/OrganizationAdvisorsTable.js
@@ -105,7 +105,7 @@ const OrganizationAdvisorsTable = ({
function filterRows(rows, filterText) {
const nothingFound = (
-
+
|
diff --git a/client/src/components/EditAssociatedPositionsModal.js b/client/src/components/EditAssociatedPositionsModal.js
index d92685930f..7b2293f009 100644
--- a/client/src/components/EditAssociatedPositionsModal.js
+++ b/client/src/components/EditAssociatedPositionsModal.js
@@ -117,7 +117,7 @@ const EditAssociatedPositionsModal = ({
widget={
}
diff --git a/client/src/components/Leaflet.js b/client/src/components/Leaflet.js
index 1d03cf8d77..4a064450f6 100644
--- a/client/src/components/Leaflet.js
+++ b/client/src/components/Leaflet.js
@@ -29,6 +29,12 @@ import MARKER_ICON from "resources/leaflet/marker-icon.png"
import MARKER_SHADOW from "resources/leaflet/marker-shadow.png"
import Settings from "settings"
+export const DEFAULT_MAP_STYLE = {
+ width: "100%",
+ height: "500px",
+ marginBottom: "18px"
+}
+
const css = {
zIndex: 1
}
@@ -289,9 +295,7 @@ Leaflet.propTypes = {
onMapClick: PropTypes.func
}
Leaflet.defaultProps = {
- width: "100%",
- height: "500px",
- marginBottom: "18px"
+ ...DEFAULT_MAP_STYLE
}
export default Leaflet
diff --git a/client/src/components/LocationTable.js b/client/src/components/LocationTable.js
index 1d54fe170f..f1dd240bed 100644
--- a/client/src/components/LocationTable.js
+++ b/client/src/components/LocationTable.js
@@ -6,6 +6,7 @@ import {
PageDispatchersPropType,
useBoilerplate
} from "components/Page"
+import RemoveButton from "components/RemoveButton"
import UltimatePaginationTopDown from "components/UltimatePaginationTopDown"
import _get from "lodash/get"
import { Location } from "models"
@@ -91,13 +92,14 @@ const BaseLocationTable = ({
showDelete,
onDelete,
locations,
+ noLocationsMessage,
pageSize,
pageNum,
totalCount,
goToPage
}) => {
if (_get(locations, "length", 0) === 0) {
- return No locations found
+ return {noLocationsMessage}
}
return (
@@ -115,6 +117,7 @@ const BaseLocationTable = ({
|