mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
1 parent
e460b3f532
commit
12c3422c28
2 files changed
+6
-6
No files matched your search
@@ -83,7 +83,7 @@ export class Extensions extends React.Component {
|
||||
this.requestInstall(
|
||||
filePaths.map(filePath => ({
|
||||
fileName: path.basename(filePath),
|
||||
filePath: filePath,
|
||||
filePath,
|
||||
}))
|
||||
);
|
||||
}
|
||||
@@ -172,7 +172,7 @@ export class Extensions extends React.Component {
|
||||
const manifest = await this.validatePackage(tempFile);
|
||||
validatedRequests.push({
|
||||
...req,
|
||||
manifest: manifest,
|
||||
manifest,
|
||||
tmpFile: tempFile,
|
||||
});
|
||||
} catch (err) {
|
||||
|
||||
@@ -61,10 +61,10 @@ export class DropFileInput<T extends HTMLElement = any> extends React.Component<
|
||||
className: cssNames("DropFileInput", className, {
|
||||
droppable: this.dropAreaActive,
|
||||
}),
|
||||
onDragEnter: onDragEnter,
|
||||
onDragLeave: onDragLeave,
|
||||
onDragOver: onDragOver,
|
||||
onDrop: onDrop,
|
||||
onDragEnter,
|
||||
onDragLeave,
|
||||
onDragOver,
|
||||
onDrop,
|
||||
};
|
||||
return React.cloneElement(contentElem, contentElemProps);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user