feat: allow passing arbitrary props to BluetoothPrinterNavbarWidget

This commit is contained in:
Suherdy Yacob 2026-05-07 16:57:43 +07:00
parent ff69c9d008
commit a0ce35c237

View File

@ -14,6 +14,7 @@ import { patch } from "@web/core/utils/patch";
export class BluetoothPrinterNavbarWidget extends Component { export class BluetoothPrinterNavbarWidget extends Component {
static template = "pos_bluetooth_thermal_printer.BluetoothPrinterNavbarWidget"; static template = "pos_bluetooth_thermal_printer.BluetoothPrinterNavbarWidget";
static components = { BluetoothConnectionStatus }; static components = { BluetoothConnectionStatus };
static props = {"*": true};
setup() { setup() {
this.pos = usePos(); this.pos = usePos();