diff --git a/components/collections/ImportExport.vue b/components/collections/ImportExport.vue
index 13ebd1e71..76578ee42 100644
--- a/components/collections/ImportExport.vue
+++ b/components/collections/ImportExport.vue
@@ -72,7 +72,7 @@
class="icon"
@click="openDialogChooseFileToReplaceWith"
>
- create_new_folder
+ folder_special
{{ $t("replace_json") }}
- folder_special
+ create_new_folder
{{ $t("import_json") }}
@@ -149,26 +146,19 @@
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
@@ -399,6 +389,7 @@ export default {
return this.collectionJson
},
exportJSON() {
+ this.getJSONCollection()
let text = this.collectionJson
text = text.replace(/\n/g, "\r\n")
const blob = new Blob([text], {
diff --git a/components/collections/graphql/ImportExport.vue b/components/collections/graphql/ImportExport.vue
index 44a726c88..9e47312d6 100644
--- a/components/collections/graphql/ImportExport.vue
+++ b/components/collections/graphql/ImportExport.vue
@@ -59,7 +59,7 @@
class="icon"
@click="openDialogChooseFileToReplaceWith"
>
- create_new_folder
+ folder_special
{{ $t("replace_json") }}
- folder_special
+ create_new_folder
{{ $t("import_json") }}
-
-
-
-
-
-
-
-
-
- {{ $t("show_code") }}
-
-
-
-
-
-
+
@@ -128,7 +114,6 @@ export default {
data() {
return {
fb,
- showJsonCode: false,
}
},
subscriptions() {
diff --git a/components/environments/ImportExport.vue b/components/environments/ImportExport.vue
index 369a46f83..f9408c97a 100644
--- a/components/environments/ImportExport.vue
+++ b/components/environments/ImportExport.vue
@@ -61,7 +61,7 @@
class="icon"
@click="openDialogChooseFileToReplaceWith"
>
- create_new_folder
+ folder_special
{{ $t("replace_json") }}
- folder_special
+ create_new_folder
{{ $t("import_json") }}
-
-
-
-
-
-
-
-
-
- {{ $t("show_code") }}
-
-
-
-
-
-
+
@@ -117,7 +103,11 @@