Skip to content

Commit

Permalink
clean console log and update version
Browse files Browse the repository at this point in the history
  • Loading branch information
Dufgui authored and dufoli committed May 20, 2024
1 parent 02abed7 commit 3e89fbe
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 10 deletions.
4 changes: 0 additions & 4 deletions addon/data-import.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,6 @@ class Model {
this.importAction = this.importType.endsWith("__mdt") ? "deleteMetadata" : "delete";
this.importActionName = this.importType.endsWith("__mdt") ? "Delete Metadata" : "Delete";
this.skipAllUnknownFields();
console.log(this.importData);
}
this.tableModel = new TableModel(sfHost, this.didUpdate.bind(this));
this.resultTableCallback = (d) => this.tableModel.dataChange(d);
Expand Down Expand Up @@ -1246,17 +1245,14 @@ class App extends React.Component {
// Ask the user for confirmation before leaving
e.returnValue = "The import will be stopped";
};
console.log("added listener");
addEventListener("beforeunload", this.unloadListener);
}
} else if (this.unloadListener) {
console.log("removed listener");
removeEventListener("beforeunload", this.unloadListener);
}
}
render() {
let {model} = this.props;
//console.log(model);
return h("div", {onClick: this.onClick},
h("div", {id: "user-info"},
h("a", {href: model.sfLink, className: "sf-link"},
Expand Down
2 changes: 0 additions & 2 deletions addon/data-load.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@ export function DescribeInfo(spinFor, didUpdate) {
let apiDescribes = sobjectAllDescribes[useToolingApi ? "tool" : "data"];
if (apiDescribes.global.globalStatus == "pending") {
apiDescribes.global.globalStatus = "loading";
console.log(useToolingApi ? "getting tooling objects" : "getting objects");
spinFor(sfConn.rest(useToolingApi ? "/services/data/v" + apiVersion + "/tooling/sobjects/" : "/services/data/v" + apiVersion + "/sobjects/").then(res => {
apiDescribes.global.globalStatus = "ready";
apiDescribes.global.globalDescribe = res;
Expand Down Expand Up @@ -112,7 +111,6 @@ export function DescribeInfo(spinFor, didUpdate) {
}
if (sobjectInfo.sobject.sobjectStatus == "pending") {
sobjectInfo.sobject.sobjectStatus = "loading";
console.log("getting fields for " + sobjectInfo.global.name);
spinFor(sfConn.rest(sobjectInfo.global.urls.describe).then(res => {
sobjectInfo.sobject.sobjectStatus = "ready";
sobjectInfo.sobject.sobjectDescribe = res;
Expand Down
4 changes: 2 additions & 2 deletions addon/manifest-template.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"name": "Salesforce Inspector Advanced",
"description": "Productivity tools for Salesforce administrators and developers to inspect data and metadata directly from the Salesforce UI.",
"version": "1.26",
"version_name": "1.26",
"version": "1.27",
"version_name": "1.27",
"icons": {
"128": "icon128.png"
},
Expand Down
4 changes: 2 additions & 2 deletions addon/manifest.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"name": "Salesforce Inspector Advanced",
"description": "Productivity tools for Salesforce administrators and developers to inspect data and metadata directly from the Salesforce UI.",
"version": "1.26",
"version_name": "1.26",
"version": "1.27",
"version_name": "1.27",
"icons": {
"128": "icon128.png"
},
Expand Down

0 comments on commit 3e89fbe

Please sign in to comment.