File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2727
2828 function downloadExportedFile(downloadUrl : string ) {
2929 if (! downloadUrl ) {
30- addNotification ({
31- type: ' error' ,
32- message: ' Download URL not found for this export'
33- });
3430 return ;
3531 }
3632
164160 }
165161 }
166162
167- function text(status : string , tableName = ' ' , bucketName = ' ' ) {
163+ function text(status : string , tableName = ' ' ) {
168164 const table = tableName ? ` <b>${tableName }</b> ` : ' ' ;
169- const bucket = bucketName ? ` <b>${bucketName }</b> ` : ' bucket' ;
170165 switch (status ) {
171166 case ' completed' :
167+ return ` Exporting ${table } completed ` ;
172168 case ' failed' :
173- return ` Export to ${ bucket } ${ status } ` ;
169+ return ` Exporting ${ table } failed ` ;
174170 case ' processing' :
175- return ` Exporting ${table } to ${ bucket } ` ;
171+ return ` Exporting ${table } ` ;
176172 default :
177173 return ' Preparing export...' ;
178174 }
234230 <div
235231 class =" progress-bar-top-line u-flex u-gap-8 u-main-space-between" >
236232 <Typography .Text >
237- {@html text (
238- value .status ,
239- value .table ,
240- value .bucketName ?? ' bucket'
241- )}
233+ {@html text (value .status , value .table )}
242234 </Typography .Text >
243235 {#if value .status === ' failed' && value .errors && value .errors .length > 0 }
244236 <button
You can’t perform that action at this time.
0 commit comments