@griddo/ax 11.0.6 → 11.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@griddo/ax",
|
|
3
3
|
"description": "Griddo Author Experience",
|
|
4
|
-
"version": "11.0.
|
|
4
|
+
"version": "11.0.7",
|
|
5
5
|
"authors": [
|
|
6
6
|
"Álvaro Sánchez' <alvaro.sanches@secuoyas.com>",
|
|
7
7
|
"Carlos Torres <carlos.torres@secuoyas.com>",
|
|
@@ -229,5 +229,5 @@
|
|
|
229
229
|
"publishConfig": {
|
|
230
230
|
"access": "public"
|
|
231
231
|
},
|
|
232
|
-
"gitHead": "
|
|
232
|
+
"gitHead": "2c180eb4bb13b131e3d6dc89bd439d2074cc4b67"
|
|
233
233
|
}
|
|
@@ -136,15 +136,15 @@ const ImportCheckModal = (props: IImportCheckModal): JSX.Element => {
|
|
|
136
136
|
|
|
137
137
|
const mapModalItems = (items: IRedirect[], icon: string, type: "online" | "error" | "info") => {
|
|
138
138
|
return items.map((item: IRedirect) => (
|
|
139
|
-
<S.ModalImportItem key={item.from}>
|
|
139
|
+
<S.ModalImportItem key={item.item?.from || item.from || ""}>
|
|
140
140
|
<S.ModalItemIcon type={type}>
|
|
141
141
|
<Icon name={icon} size="16" />
|
|
142
142
|
</S.ModalItemIcon>
|
|
143
|
-
<S.ModalUrl>{item.from}</S.ModalUrl>
|
|
143
|
+
<S.ModalUrl>{item.item?.from || item.from}</S.ModalUrl>
|
|
144
144
|
<S.ModalItemArrow>
|
|
145
145
|
<Icon name="fullArrowRight" size="16" />
|
|
146
146
|
</S.ModalItemArrow>
|
|
147
|
-
<S.ModalUrl>{typeof item.to === "string" && item.to}</S.ModalUrl>
|
|
147
|
+
<S.ModalUrl>{item.item?.to || (typeof item.to === "string" && item.to) || ""}</S.ModalUrl>
|
|
148
148
|
</S.ModalImportItem>
|
|
149
149
|
));
|
|
150
150
|
};
|
package/src/types/index.tsx
CHANGED
|
@@ -849,6 +849,10 @@ export interface IRedirect {
|
|
|
849
849
|
site?: { siteId: number | null; siteName: string | null; siteUrl: string | null };
|
|
850
850
|
domain?: string;
|
|
851
851
|
date?: string;
|
|
852
|
+
item?: {
|
|
853
|
+
from: string;
|
|
854
|
+
to: string;
|
|
855
|
+
};
|
|
852
856
|
}
|
|
853
857
|
|
|
854
858
|
export interface IAnalytics {
|