View | Details | Raw Unified | Return to bug 42002
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/js/vue/components/SIP2/SIP2AccountResource.vue (-2 / +9 lines)
Lines 827-833 export default { Link Here
827
                    },
827
                    },
828
                    {
828
                    {
829
                        name: "replace",
829
                        name: "replace",
830
                        required: true,
831
                        indexRequired: true,
830
                        indexRequired: true,
832
                        type: "text",
831
                        type: "text",
833
                        placeholder: "Welcome to your library!",
832
                        placeholder: "Welcome to your library!",
Lines 992-997 export default { Link Here
992
                account.convert_nonprinting_characters = null;
991
                account.convert_nonprinting_characters = null;
993
            }
992
            }
994
993
994
            if (account.screen_msg_regexs) {
995
                account.screen_msg_regexs = account.screen_msg_regexs.map(
996
                    item => ({
997
                        ...item,
998
                        replace: item.replace ?? "",
999
                    })
1000
                );
1001
            }
1002
995
            account.item_fields = account.item_fields?.map(
1003
            account.item_fields = account.item_fields?.map(
996
                ({ account_id, account_item_field_id, ...rest }) => rest
1004
                ({ account_id, account_item_field_id, ...rest }) => rest
997
            );
1005
            );
998
- 

Return to bug 42002