File tree Expand file tree Collapse file tree 3 files changed +11
-11
lines changed
portal-ui/src/screens/Console
Buckets/ListBuckets/Objects Expand file tree Collapse file tree 3 files changed +11
-11
lines changed Original file line number Diff line number Diff line change @@ -256,7 +256,7 @@ const ListObjects = ({
256256 xhr . open ( "POST" , uploadUrl , true ) ;
257257
258258 xhr . withCredentials = false ;
259- xhr . onload = function ( event ) {
259+ xhr . onload = function ( event ) {
260260 // TODO: handle status
261261 if ( xhr . status === 401 || xhr . status === 403 ) {
262262 showSnackBarMessage ( "An error occurred while uploading the file." ) ;
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ export const download = (
3535 xhr . open ( "GET" , path , true ) ;
3636 xhr . responseType = "blob" ;
3737
38- xhr . onload = function ( e ) {
38+ xhr . onload = function ( e ) {
3939 if ( this . status === 200 ) {
4040 const blob = new Blob ( [ this . response ] , {
4141 type : "octet/stream" ,
Original file line number Diff line number Diff line change 1515// along with this program. If not, see <http://www.gnu.org/licenses/>.
1616
1717export interface Permission {
18- id : string ;
19- name : string ;
20- slug : string ;
21- description : string ;
22- effect : string ;
23- resources : any [ ] ;
24- actions : any [ ] ;
18+ id : string ;
19+ name : string ;
20+ slug : string ;
21+ description : string ;
22+ effect : string ;
23+ resources : any [ ] ;
24+ actions : any [ ] ;
2525}
2626
2727export interface PermissionList {
28- permissions : Permission [ ] ;
29- total :number ;
28+ permissions : Permission [ ] ;
29+ total : number ;
3030}
You can’t perform that action at this time.
0 commit comments