diff --git a/src/routes/idaa/(idaa)/archives/[archive_id]/ae_idaa_comp__archive_obj_id_edit.svelte b/src/routes/idaa/(idaa)/archives/[archive_id]/ae_idaa_comp__archive_obj_id_edit.svelte
index e6925115..48568076 100644
--- a/src/routes/idaa/(idaa)/archives/[archive_id]/ae_idaa_comp__archive_obj_id_edit.svelte
+++ b/src/routes/idaa/(idaa)/archives/[archive_id]/ae_idaa_comp__archive_obj_id_edit.svelte
@@ -125,6 +125,16 @@ async function handle_submit_form(event) {
archive_do['original_url'] = archive_di.original_url;
archive_do['original_url_text'] = archive_di.original_url_text;
+ if (archive_di.cfg_json) {
+ try {
+ archive_do['cfg_json'] = JSON.parse(archive_di.cfg_json);
+ } catch (error) {
+ console.log('Error parsing JSON:', error);
+ }
+ } else {
+ // archive_do['cfg_json'] = {};
+ }
+
archive_do['hide'] = archive_di.hide;
archive_do['priority'] = archive_di.priority;
if (archive_di.sort) {
@@ -368,6 +378,15 @@ async function handle_submit_form(event) {
-->
+ {#if $ae_loc.administrator_access}
+
+ {/if}
+
{#if $ae_loc.trusted_access}