public inbox for [email protected]
help / color / mirror / Atom feed[pgAdmin4][Patch] - Linter Fixes
2+ messages / 2 participants
[nested] [flat]
* [pgAdmin4][Patch] - Linter Fixes
@ 2022-04-26 12:03 Khushboo Vashi <[email protected]>
0 siblings, 1 reply; 2+ messages in thread
From: Khushboo Vashi @ 2022-04-26 12:03 UTC (permalink / raw)
To: pgadmin-hackers
Hi,
Please find the attached patch to fix the linter issue.
Thanks,
Khushboo
Attachments:
[application/octet-stream] linter_fixes.patch (1.8K, 3-linter_fixes.patch)
download | inline diff:
diff --git a/web/pgadmin/misc/cloud/static/js/cloud_components.jsx b/web/pgadmin/misc/cloud/static/js/cloud_components.jsx
index 70fccdb0d..8b80ee2b8 100644
--- a/web/pgadmin/misc/cloud/static/js/cloud_components.jsx
+++ b/web/pgadmin/misc/cloud/static/js/cloud_components.jsx
@@ -70,7 +70,7 @@ export function FinalSummary(props) {
if (props.cloudProvider == 'biganimal') {
summary = getBigAnimalSummary(props.cloudProvider, props.instanceData, props.databaseData);
- summaryHeader[1] = 'Version Details'
+ summaryHeader[1] = 'Version Details';
} else {
summary = getAWSSummary(props.cloudProvider, props.instanceData, props.databaseData);
}
diff --git a/web/pgadmin/misc/cloud/static/js/cloud_db_details_schema.ui.js b/web/pgadmin/misc/cloud/static/js/cloud_db_details_schema.ui.js
index 9c4e903d3..ef906b5f5 100644
--- a/web/pgadmin/misc/cloud/static/js/cloud_db_details_schema.ui.js
+++ b/web/pgadmin/misc/cloud/static/js/cloud_db_details_schema.ui.js
@@ -496,13 +496,13 @@ class BigAnimalNetworkSchema extends BaseUISchema {
return true;
},
depChange: (state, source)=> {
- if(source[0] == 'cloud_type') {
- if (state.cloud_type == 'public') {
- return {public_ip: obj.initValues.hostIP};
- } else {
- return {public_ip: ''};
- }
- }
+ if(source[0] == 'cloud_type') {
+ if (state.cloud_type == 'public') {
+ return {public_ip: obj.initValues.hostIP};
+ } else {
+ return {public_ip: ''};
+ }
+ }
},
helpMessage: gettext('IP Address range for permitting the inbound traffic. Ex: 127.0.0.1/32, add multiple ip addresses/ranges by comma separated. Leave it blank for 0.0.0.0/0'),
},
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: [pgAdmin4][Patch] - Linter Fixes
@ 2022-04-26 12:54 Akshay Joshi <[email protected]>
parent: Khushboo Vashi <[email protected]>
0 siblings, 0 replies; 2+ messages in thread
From: Akshay Joshi @ 2022-04-26 12:54 UTC (permalink / raw)
To: Khushboo Vashi <[email protected]>; +Cc: pgadmin-hackers
Thanks, the patch applied.
On Tue, Apr 26, 2022 at 5:33 PM Khushboo Vashi <
[email protected]> wrote:
> Hi,
>
> Please find the attached patch to fix the linter issue.
>
> Thanks,
> Khushboo
>
--
*Thanks & Regards*
*Akshay Joshi*
*pgAdmin Hacker | Principal Software Architect*
*EDB Postgres <http://edbpostgres.com>*
*Mobile: +91 976-788-8246*
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2022-04-26 12:54 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2022-04-26 12:03 [pgAdmin4][Patch] - Linter Fixes Khushboo Vashi <[email protected]>
2022-04-26 12:54 ` Akshay Joshi <[email protected]>
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox