Skip to content

Commit e2db26d

Browse files
author
Benjamin Perez
committed
Lint fixes
1 parent 20072e9 commit e2db26d

File tree

3 files changed

+11
-11
lines changed

3 files changed

+11
-11
lines changed

portal-ui/src/screens/Console/Buckets/ListBuckets/Objects/ListObjects/ListObjects.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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.");

portal-ui/src/screens/Console/Buckets/ListBuckets/Objects/utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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",

portal-ui/src/screens/Console/Permissions/types.ts

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -15,16 +15,16 @@
1515
// along with this program. If not, see <http://www.gnu.org/licenses/>.
1616

1717
export 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

2727
export interface PermissionList {
28-
permissions: Permission[];
29-
total:number;
28+
permissions: Permission[];
29+
total: number;
3030
}

0 commit comments

Comments
 (0)