+
+ {uploadPhase === 'hashing' &&
{t('livy.upload_hashing')}
}
+ {uploadPhase === 'uploading' && (
+
{t('livy.upload_uploading', { pct: uploadProgress })}
+ )}
+ {uploadPhase === 'ready' && uploadFileName && (
+
{uploadFileName}
+ )}
+ {uploadError && (
+
+ {uploadError}
+
+ )}
+
+
{t('livy.upload_recent')}
+ {recentLoading ? (
+
{t('livy.loading')}
+ ) : recentUploads.length === 0 ? (
+
{t('livy.upload_empty')}
+ ) : (
+
+ {recentUploads.map((row) => (
+ -
+
+
+ ))}
+
+ )}
+
+
+ ) : (
+