diff --git a/modules/ppcp-settings/resources/js/Components/ReusableComponents/SettingsBlocks/TodoSettingsBlock.js b/modules/ppcp-settings/resources/js/Components/ReusableComponents/SettingsBlocks/TodoSettingsBlock.js index ea6119d5a..876b11702 100644 --- a/modules/ppcp-settings/resources/js/Components/ReusableComponents/SettingsBlocks/TodoSettingsBlock.js +++ b/modules/ppcp-settings/resources/js/Components/ReusableComponents/SettingsBlocks/TodoSettingsBlock.js @@ -8,7 +8,11 @@ const TodoSettingsBlock = ( { todosData, className = '' } ) => { className={ `ppcp-r-settings-block__todo ppcp-r-todo-items ${ className }` } > { todosData.map( ( todo ) => ( - + ) ) } ); @@ -16,7 +20,7 @@ const TodoSettingsBlock = ( { todosData, className = '' } ) => { const TodoItem = ( props ) => { return ( -
+
diff --git a/modules/ppcp-settings/resources/js/Components/Screens/Overview/TabOverview.js b/modules/ppcp-settings/resources/js/Components/Screens/Overview/TabOverview.js index aaafd98b0..2f9005f12 100644 --- a/modules/ppcp-settings/resources/js/Components/Screens/Overview/TabOverview.js +++ b/modules/ppcp-settings/resources/js/Components/Screens/Overview/TabOverview.js @@ -10,6 +10,7 @@ import FeatureSettingsBlock from '../../ReusableComponents/SettingsBlocks/Featur import { TITLE_BADGE_POSITIVE } from '../../ReusableComponents/TitleBadge'; import { useMerchantInfo } from '../../../data/common/hooks'; import { STORE_NAME } from '../../../data/common'; +import { updateQueryString } from '../../../utils/navigation'; const TabOverview = () => { const [ todosData ] = useState( todosDataDefault ); @@ -188,6 +189,10 @@ const todosDataDefault = [ isCompleted: () => { return false; }, + onClick: ( event ) => { + event.preventDefault(); + updateQueryString( { panel: 'payment-methods' } ); + }, }, { id: 'enable_credit_debit_cards',