- Enhanced tests to ensure consistent messageId generation for legacy inbox rows lacking a messageId. - Updated test descriptions for better clarity regarding the new messageId handling. - Adjusted test expectations to align with the updated behavior of relaying legacy inbox rows with generated messageIds.
14 lines
347 B
TypeScript
14 lines
347 B
TypeScript
export default defineNuxtPlugin({
|
|
name: "init-theme-locale",
|
|
dependsOn: ["vuetify"],
|
|
setup(nuxtApp) {
|
|
const { initTheme } = useBrowserTheme();
|
|
const { initLocale } = useLocation();
|
|
|
|
// Run after hydration to avoid SSR/CSR mismatches.
|
|
nuxtApp.hook("app:mounted", () => {
|
|
initTheme();
|
|
initLocale();
|
|
});
|
|
}
|
|
});
|