@ -10,7 +10,6 @@ import { WorkingPointPopup } from "./mode-popup/WorkingPointPopup";
import { FeatureProperties } from "./mode-popup/FeatureProperties";
const SingleFeaturePopup = ({ feature }) => {
console.log(feature);
const { mode } = useMode();
const isRivals =
feature.layer?.id === LAYER_IDS.pvz ||
@ -68,7 +68,12 @@ export const workingPointFields = [
{ name: "id постамата", field: "postamat_id", empty: "Не указан" },
];
const RIVALS_MAPPER = {
pvz: "ПВЗ",
post: "Постамат",
};
export const rivalsConfig = [
{ name: "Инфо", field: "info" },
{ name: "Категория", field: "type" },
{ name: "Категория", field: "type", render: (value) => RIVALS_MAPPER[value] },