+ {existingConfig.lastSyncAt != null && (
+
+ Letzter Sync:{' '}
+ {new Date(existingConfig.lastSyncAt * 1000).toLocaleString()}
+ {existingConfig.lastSyncStatus != null && existingConfig.lastSyncStatus !== '' && (
+ <> · Status: {existingConfig.lastSyncStatus}>
+ )}
+
+ )}
+ {existingConfig.lastSyncStatus === 'error' && (existingConfig.lastSyncErrorMessage ?? '').trim() !== '' && (
+
+ {existingConfig.lastSyncErrorMessage}
+
+ )}
+ {existingConfig.lastSyncStatus === 'error' && (!existingConfig.lastSyncErrorMessage || existingConfig.lastSyncErrorMessage.trim() === '') && (
+
+ Der letzte Sync ist fehlgeschlagen. Details pro Position finden Sie unter Positionen (Spalte Sync-Status).
+
+ )}
+