Revert "Replace generic console.error handlers with window.cloudron.onError"

This reverts commit 7db5a48e35.
This commit is contained in:
Johannes Zellner
2025-12-10 18:04:07 +01:00
parent 4dd1a960c1
commit 1cd069df5e
90 changed files with 298 additions and 297 deletions
@@ -40,7 +40,7 @@ async function onToggleEditableUserProfiles(value) {
onMounted(async () => {
const [error, result] = await userDirectoryModel.getGlobalProfileConfig();
if (error) return window.cloudron.onError(error);
if (error) return console.error(error);
editableUserProfiles.value = !result.lockUserProfiles;
mandatory2FA.value = result.mandatory2FA;