diff --git a/lerna.json b/lerna.json index eb08127241..820e7abdf8 100644 --- a/lerna.json +++ b/lerna.json @@ -1,5 +1,5 @@ { - "version": "2.7.36-alpha.4", + "version": "2.7.36-alpha.6", "npmClient": "yarn", "packages": [ "packages/*" diff --git a/package.json b/package.json index 8b715d8747..42e528dfce 100644 --- a/package.json +++ b/package.json @@ -18,7 +18,7 @@ "lerna": "7.0.2", "madge": "^6.0.0", "minimist": "^1.2.8", - "prettier": "^2.3.1", + "prettier": "2.8.8", "prettier-plugin-svelte": "^2.3.0", "rimraf": "^3.0.2", "rollup-plugin-replace": "^2.2.0", diff --git a/packages/builder/src/components/backend/DataTable/modals/EditRoles.svelte b/packages/builder/src/components/backend/DataTable/modals/EditRoles.svelte index b638d23168..6a2dd8d913 100644 --- a/packages/builder/src/components/backend/DataTable/modals/EditRoles.svelte +++ b/packages/builder/src/components/backend/DataTable/modals/EditRoles.svelte @@ -84,7 +84,7 @@ await roles.save(selectedRole) notifications.success("Role saved successfully") } catch (error) { - notifications.error("Error saving role") + notifications.error(`Error saving role - ${error.message}`) return false } } @@ -96,7 +96,8 @@ changeRole() notifications.success("Role deleted successfully") } catch (error) { - notifications.error("Error deleting role") + notifications.error(`Error deleting role - ${error.message}`) + return false } } @@ -139,7 +140,7 @@ handleChange(field.key, e.detail)} - value={field.value} - /> - + handleChange(field.key, e.detail)} + /> {/each} - - diff --git a/packages/builder/src/components/backend/Datasources/ConfigEditor/fields/Select.svelte b/packages/builder/src/components/backend/Datasources/ConfigEditor/fields/Select.svelte new file mode 100644 index 0000000000..3185a6c22c --- /dev/null +++ b/packages/builder/src/components/backend/Datasources/ConfigEditor/fields/Select.svelte @@ -0,0 +1,30 @@ + + +
+ +