Browse Source

Add reactive data refresh for site title updates

pull/1977/head
mavrag 1 month ago
parent
commit
72de3fb7f6
  1. 8
      src/app/pages/admin/general.vue

8
src/app/pages/admin/general.vue

@ -61,8 +61,12 @@ const _submit = useSubmit(
{ revert }
);
function submit() {
return _submit(data.value);
async function submit() {
// Submit the form data
await _submit(data.value);
// Refresh the site-title data globally to update the browser tab title
await refreshNuxtData('site-title');
}
async function revert() {

Loading…
Cancel
Save