+
+
{{ __('Favicon') }}
@@ -93,10 +91,9 @@
-
-
-
+
+
{{ __('Dropdown settings') }}
@@ -107,10 +104,15 @@
/>
+
-
-
-
+
+
@@ -121,10 +123,11 @@ import { FormControl, Badge } from 'frappe-ui'
import { getSettings } from '@/stores/settings'
import { showSettings } from '@/composables/settings'
-const { _settings: settings } = getSettings()
+const { _settings: settings, setupBrand } = getSettings()
function updateSettings() {
settings.save.submit()
showSettings.value = false
+ setupBrand()
}
diff --git a/frontend/src/components/Settings/InviteMemberPage.vue b/frontend/src/components/Settings/InviteMemberPage.vue
index 325dd8a2..5ce5d2bb 100644
--- a/frontend/src/components/Settings/InviteMemberPage.vue
+++ b/frontend/src/components/Settings/InviteMemberPage.vue
@@ -3,62 +3,68 @@
{{ __('Send Invites To') }}
-
-
-
-
-
+
+
+
+
+
+
+
-
-
{{ __('Pending Invites') }}
-
-
- -
+
-
-
- {{ user.email }}
-
- ({{ roleMap[user.role] }})
-
-
-
-
-
-
-
-
+
{{ __('Pending Invites') }}
+
+
+
diff --git a/frontend/src/stores/settings.js b/frontend/src/stores/settings.js
index 829a162e..99439587 100644
--- a/frontend/src/stores/settings.js
+++ b/frontend/src/stores/settings.js
@@ -10,16 +10,21 @@ export function getSettings() {
name: 'FCRM Settings',
onSuccess: (data) => {
settings.value = data
- brand.name = settings.value?.brand_name
- brand.logo = settings.value?.brand_logo
- brand.favicon = settings.value?.favicon
+ setupBrand()
return data
},
})
+ function setupBrand() {
+ brand.name = settings.value?.brand_name
+ brand.logo = settings.value?.brand_logo
+ brand.favicon = settings.value?.favicon
+ }
+
return {
_settings,
settings,
brand,
+ setupBrand,
}
}