Skip to content

Commit 10bb145

Browse files
Merge branch 'main' into feat/add-line
2 parents bad41fa + 6c822aa commit 10bb145

File tree

13 files changed

+234
-170
lines changed

13 files changed

+234
-170
lines changed

bitwpfi.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* Plugin Name: Bit Integrations
55
* Plugin URI: https://bitapps.pro/bit-integrations
66
* Description: Bit Integrations is a platform that integrates with over 290+ different platforms to help with various tasks on your WordPress site, like WooCommerce, Form builder, Page builder, LMS, Sales funnels, Bookings, CRM, Webhooks, Email marketing, Social media and Spreadsheets, etc
7-
* Version: 2.6.5
7+
* Version: 2.6.6
88
* Author: Automation & Integration Plugin - Bit Apps
99
* Author URI: https://bitapps.pro
1010
* Text Domain: bit-integrations
@@ -24,7 +24,7 @@
2424
$btcbi_db_version = '1.1';
2525

2626
// Define most essential constants.
27-
define('BTCBI_VERSION', '2.6.5');
27+
define('BTCBI_VERSION', '2.6.6');
2828
define('BTCBI_PLUGIN_MAIN_FILE', __FILE__);
2929

3030
require_once plugin_dir_path(__FILE__) . 'includes/loader.php';

frontend-dev/src/components/AllIntegrations/MailerLite/EditMailerLite.jsx

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ function EditMailerLite({ allIntegURL }) {
2121
const [flow, setFlow] = useRecoilState($newFlow)
2222
const [mailerLiteConf, setMailerLiteConf] = useRecoilState($actionConf)
2323
const [isLoading, setIsLoading] = useState(false)
24+
const [name, setName] = useState(mailerLiteConf?.name || '')
2425
const [loading, setLoading] = useState({
2526
list: false,
2627
field: false,
@@ -56,6 +57,16 @@ function EditMailerLite({ allIntegURL }) {
5657
}
5758
}, [])
5859

60+
const handleEditIntegName = e => {
61+
setName(e.target.value)
62+
63+
setMailerLiteConf(prevConf =>
64+
create(prevConf, draftConF => {
65+
draftConF.name = e.target.value
66+
})
67+
)
68+
}
69+
5970
return (
6071
<div style={{ width: 900 }}>
6172
<SnackMsg snack={snack} setSnackbar={setSnackbar} />
@@ -64,9 +75,9 @@ function EditMailerLite({ allIntegURL }) {
6475
<b className="wdt-200 d-in-b">{__('Integration Name:', 'bit-integrations')}</b>
6576
<input
6677
className="btcd-paper-inp w-5"
67-
onChange={e => handleInput(e, mailerLiteConf, setMailerLiteConf, loading, setLoading)}
78+
onChange={handleEditIntegName}
6879
name="name"
69-
value={mailerLiteConf.name}
80+
value={name}
7081
type="text"
7182
placeholder={__('Integration Name...', 'bit-integrations')}
7283
/>

0 commit comments

Comments
 (0)