weiterer fortschritt mit tamagui und dem neuen mobile event admin
This commit is contained in:
@@ -96,7 +96,6 @@ export default function SettingsPage() {
|
||||
const result = await getNotificationPreferences();
|
||||
setPreferences(result.preferences);
|
||||
setDefaults(result.defaults);
|
||||
setNotificationMeta(result.meta ?? null);
|
||||
} catch (error) {
|
||||
setNotificationError(getApiErrorMessage(error, t('settings.notifications.errorLoad', 'Benachrichtigungseinstellungen konnten nicht geladen werden.')));
|
||||
} finally {
|
||||
|
||||
@@ -41,7 +41,7 @@ vi.mock('../../onboarding', () => ({
|
||||
|
||||
vi.mock('../context/EventContext', () => ({
|
||||
useEventContext: () => ({ events: [], activeEvent: null, selectEvent: vi.fn(), isLoading: false, isError: false, refetch: vi.fn() }),
|
||||
}), { virtual: true });
|
||||
}));
|
||||
|
||||
vi.mock('../../api', () => ({
|
||||
getDashboardSummary: vi.fn().mockResolvedValue(null),
|
||||
|
||||
@@ -228,6 +228,7 @@ export function InviteLayoutCustomizerPanel({
|
||||
backgroundImages = preloadedBackgrounds,
|
||||
}: InviteLayoutCustomizerPanelProps): React.JSX.Element {
|
||||
const { t } = useTranslation('management');
|
||||
const fabricCanvasRef = React.useRef<any>(null);
|
||||
const { fonts: availableFonts, isLoading: fontsLoading } = useTenantFonts();
|
||||
|
||||
const inviteUrl = invite?.url ?? '';
|
||||
|
||||
Reference in New Issue
Block a user