Fix role create/edit colors
This commit is contained in:
parent
3e4ae49eed
commit
0e35cadebe
4 changed files with 12 additions and 12 deletions
20
package.json
20
package.json
|
|
@ -78,16 +78,16 @@
|
|||
"@types/throttle-debounce": "^5.0.2",
|
||||
"@vite-pwa/assets-generator": "^1.0.2",
|
||||
"@vite-pwa/sveltekit": "^1.1.0",
|
||||
"@welshman/app": "^0.9.1",
|
||||
"@welshman/content": "^0.9.1",
|
||||
"@welshman/domain": "^0.9.1",
|
||||
"@welshman/editor": "^0.9.1",
|
||||
"@welshman/feeds": "^0.9.1",
|
||||
"@welshman/lib": "^0.9.1",
|
||||
"@welshman/net": "^0.9.1",
|
||||
"@welshman/signer": "^0.9.1",
|
||||
"@welshman/store": "^0.9.1",
|
||||
"@welshman/util": "^0.9.1",
|
||||
"@welshman/app": "^0.9.2",
|
||||
"@welshman/content": "^0.9.2",
|
||||
"@welshman/domain": "^0.9.2",
|
||||
"@welshman/editor": "^0.9.2",
|
||||
"@welshman/feeds": "^0.9.2",
|
||||
"@welshman/lib": "^0.9.2",
|
||||
"@welshman/net": "^0.9.2",
|
||||
"@welshman/signer": "^0.9.2",
|
||||
"@welshman/store": "^0.9.2",
|
||||
"@welshman/util": "^0.9.2",
|
||||
"cheerio": "^1.2.0",
|
||||
"compressorjs-next": "^1.1.2",
|
||||
"dompurify": "^3.4.13",
|
||||
|
|
|
|||
BIN
pnpm-lock.yaml
BIN
pnpm-lock.yaml
Binary file not shown.
|
|
@ -26,7 +26,7 @@
|
|||
try {
|
||||
const {error} = await $relayManagement
|
||||
.forUrl(url)
|
||||
.createRole(randomId(), label, description, String(color), 1)
|
||||
.createRole(randomId(), label, description, color, 1)
|
||||
|
||||
if (error) {
|
||||
pushToast({theme: "error", message: error})
|
||||
|
|
|
|||
|
|
@ -34,7 +34,7 @@
|
|||
try {
|
||||
const {error} = await $relayManagement
|
||||
.forUrl(url)
|
||||
.editRole(id, label, description, String(color), role.order())
|
||||
.editRole(id, label, description, color, role.order())
|
||||
|
||||
if (error) {
|
||||
pushToast({theme: "error", message: error})
|
||||
|
|
|
|||
Loading…
Reference in a new issue