Skip to content

Commit

Permalink
console.log removal because gary scares us
Browse files Browse the repository at this point in the history
  • Loading branch information
KelvinTegelaar committed Feb 10, 2025
1 parent 4ea3218 commit 7fa788c
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 6 deletions.
2 changes: 0 additions & 2 deletions src/components/CippComponents/CippApiDialog.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,6 @@ export const CippApiDialog = (props) => {
useEffect(() => {
if (api?.setDefaultValues && createDialog.open) {
fields.map((field) => {
console.log(field.name, row[field.name]);
if (
((typeof row[field.name] === "string" && field.type === "textField") ||
(typeof row[field.name] === "boolean" && field.type === "switch")) &&
Expand Down Expand Up @@ -308,7 +307,6 @@ export const CippApiDialog = (props) => {
} else if (Array.isArray(row) && row.length > 1) {
confirmText = api.confirmText.replace(/\[([^\]]+)\]/g, "the selected rows");
} else if (Array.isArray(row) && row.length === 1) {
console.log("single row in array");
confirmText = api.confirmText.replace(/\[([^\]]+)\]/g, (_, key) => {
return getNestedValue(row[0], key) || `[${key}]`;
});
Expand Down
1 change: 0 additions & 1 deletion src/components/CippTable/CippGraphExplorerFilter.js
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,6 @@ const CippGraphExplorerFilter = ({

function getPresetProps(values) {
var newvals = Object.assign({}, values);
console.log(values);
if (newvals?.$select !== undefined && Array.isArray(newvals?.$select)) {
newvals.$select = newvals?.$select.map((p) => p.value).join(",");
}
Expand Down
1 change: 0 additions & 1 deletion src/pages/endpoint/applications/list/add.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,6 @@ const ApplicationDeploymentForm = () => {
</Grid>
{selectedTenants?.map((tenant, index) => (
<Grid item xs={12} md={6} key={tenant.addedFields.customerId || index}>
{console.log(tenant)}
<CippFormComponent
type="textField"
label={`Datto ID for ${tenant.label}`}
Expand Down
1 change: 0 additions & 1 deletion src/pages/identity/administration/users/user/edit.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ const Page = () => {
defaultAttributes[attribute.label] = { Value: user?.[attribute.label] };
});
}
console.log(defaultAttributes);
formControl.reset({
...user,
defaultAttributes: defaultAttributes,
Expand Down
1 change: 0 additions & 1 deletion src/pages/tenant/standards/template.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,6 @@ const Page = () => {
if (match) {
standardName = match[1];
}
console.log("Adding multiple", standardName);

setSelectedStandards((prev) => {
const existingInstances = Object.keys(prev).filter((name) => name.startsWith(standardName));
Expand Down

0 comments on commit 7fa788c

Please sign in to comment.