Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c929e679 authored by Akhil's avatar Akhil 🙂
Browse files

Add sed to hide delete section by default

parent becb6203
Loading
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -298,3 +298,6 @@ RUN sed -i "s/return in_array(\$user->getBackendClassName(), \['Database', 'Gues

# Seds to remove share option from notes
RUN sed -i ':a;N;$!ba;s/t("NcActionButton",{on:{click:e.onToggleSharing},scopedSlots:e._u(\[{key:"icon",fn:function(){return\[t("ShareVariantIcon",{attrs:{size:20}})\]},proxy:!0}\])},\[e._v("\\n\\t\\t\\t"+e._s(e.t("notes","Share"))+"\\n\\t\\t")\]),e._v(" "),/''/g' ${BASE_DIR}/custom_apps/notes/js/notes-main.js

# Hide the deletion settings by default (as shop has to be checked first)
Run sed -i 's/delete-account-settings"/delete-account-settings",style:"visibility:hidden;"/' ${BASE_DIR}/custom_apps/drop_account/js/drop_account-personal-settings.js