feat(frontend): update admin components
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
This commit is contained in:
@@ -108,7 +108,7 @@
|
||||
override_price: s.override_price,
|
||||
override_duration_minutes: s.override_duration_minutes
|
||||
})),
|
||||
payments: (data.payments || []).map((p) => ({
|
||||
payments: (data.payments || []).map((p: any) => ({
|
||||
id: p.id,
|
||||
booking_id: p.booking_id,
|
||||
payment_type: p.payment_type,
|
||||
@@ -675,7 +675,7 @@
|
||||
type="text"
|
||||
inputmode="decimal"
|
||||
value={overridePrice}
|
||||
oninput={(e) => handlePriceInput(e.target.value)}
|
||||
oninput={(e) => handlePriceInput(e.currentTarget.value)}
|
||||
onblur={() => {
|
||||
if (overridePrice) {
|
||||
if (!overridePrice.includes('.')) {
|
||||
@@ -718,7 +718,7 @@
|
||||
min="1"
|
||||
step="1"
|
||||
value={overrideDuration}
|
||||
oninput={(e) => handleDurationInput(e.target.value)}
|
||||
oninput={(e: Event) => handleDurationInput((e.target as HTMLInputElement).value)}
|
||||
class="no-spin w-full"
|
||||
placeholder={overrideOriginalDuration.toString()}
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user