Skip to content

Commit

Permalink
Merge pull request #248 from ljian1992/CNT-34449
Browse files Browse the repository at this point in the history
fix bug for EditTrackingModeal.tsx
  • Loading branch information
ljian1992 authored Feb 16, 2025
2 parents 96918b2 + 7ead8d7 commit 6d6c08d
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion assets/frontend/dist/metabox/index.js

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -258,8 +258,8 @@ export default function EditTrackingModal(props: Props) {
<select
value={_val()?.slug}
onChange={(e) => {
resetAdditionalFields();
handleChange('slug', e.currentTarget.value);
resetAdditionalFields();
}}>
<For each={selectedCouriers()}>
{(item) => <option value={item.slug}>{item.name || item.other_name}</option>}
Expand Down
2 changes: 1 addition & 1 deletion assets/frontendv2/vite.config.metabox.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import solidPlugin from 'vite-plugin-solid';
import MyExamplePlugin from './plugins/hotReloadShadowDomCss.js';

export default defineConfig({
base: '/wp-content/plugins/aftership-woocommerce-tracking/assets/frontend/',
base: '/wp-content/plugins/aftership-woocommerce-tracking/assets/frontendv2/',
plugins: [solidPlugin(), MyExamplePlugin('aftership-meta-box')],
resolve: {
alias: {
Expand Down
2 changes: 1 addition & 1 deletion assets/frontendv2/vite.config.orders.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import path from 'path';
import solidPlugin from 'vite-plugin-solid';

export default defineConfig({
base: '/wp-content/plugins/aftership-woocommerce-tracking/assets/frontend/',
base: '/wp-content/plugins/aftership-woocommerce-tracking/assets/frontendv2/',
plugins: [solidPlugin()],
resolve: {
alias: {
Expand Down

0 comments on commit 6d6c08d

Please sign in to comment.