Repair: copy legacy joinDate into new user's created_at when creating users from legacy wallz

This commit is contained in:
2026-03-22 09:13:39 +01:00
parent e8b5edf5d2
commit 2608be7420
80 changed files with 3991 additions and 723 deletions

View File

@@ -87,6 +87,23 @@ function mountToolbarNotifications() {
});
}
function mountToolbarMessages() {
var rootEl = document.getElementById('toolbar-messages-root');
if (!rootEl || rootEl.dataset.reactMounted === 'true') return;
var props = safeParseJson(rootEl.getAttribute('data-props'), {});
rootEl.dataset.reactMounted = 'true';
void import('./components/social/MessageInboxBadge.jsx')
.then(function (module) {
var Component = module.default;
createRoot(rootEl).render(React.createElement(Component, props));
})
.catch(function () {
rootEl.dataset.reactMounted = 'false';
});
}
function mountStorySocial() {
var socialRoot = document.getElementById('story-social-root');
if (socialRoot && socialRoot.dataset.reactMounted !== 'true') {
@@ -130,6 +147,7 @@ function mountStorySocial() {
});
}
mountToolbarMessages();
mountToolbarNotifications();
mountStorySocial();