Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
Signed-off-by: reggie <[email protected]>
  • Loading branch information
reggie-k committed Apr 9, 2024
1 parent e0a675f commit 3f02356
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ui/src/app/shared/services/applications-service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ export class ApplicationsService {
}

public resourceTree(name: string, appNamespace: string, pathname: string): Promise<models.AbstractApplicationTree> {
console.log('resourceTree');
// console.log('resourceTree');
if (!isInvokedFromAppsPath(pathname)) {
const jsonString =
'{"nodes":[{"group":"argoproj.io","version":"v1alpha1","kind":"Application","namespace":"argocd","name":"in-cluster-test","parentRefs":[{"group":"argoproj.io","version":"v1alpha1","kind":"ApplicationSet","namespace":"argocd","name":"test","uid":"5ef0ab53-1436-4839-9cd3-cf963304ee77"}],"health":{"status":"Healthy"}}]}';
Expand All @@ -106,7 +106,7 @@ export class ApplicationsService {
.query({appNamespace})
.then(res => {
const jsonString = JSON.stringify(res.body); // Convert res.body to JSON string
console.log(jsonString); // Print the JSON string
// console.log(jsonString); // Print the JSON string
return JSON.parse(jsonString) as models.AbstractApplicationTree;
});
}
Expand Down

0 comments on commit 3f02356

Please sign in to comment.