fix: Remove some en, ensure setting is default false
This commit is contained in:
@@ -109,12 +109,6 @@
|
||||
"templateHelp": "Use {} to insert values of the spool object as text. For example {id} will be replaced with the spool id, or {filament.material} will be replaced with the material of the spool. Enclose text with double asterix ** to make it bold. Click the button to view a list of all available tags.",
|
||||
"textSize": "Label Text Size",
|
||||
"showContent": "Print Label",
|
||||
"showLotNr": "Lot Nr",
|
||||
"showSpoolWeight": "Spool Weight",
|
||||
"showTemperatures": "Temperatures",
|
||||
"showSpoolComment": "Spool Comment",
|
||||
"showFilamentComment": "Filament Comment",
|
||||
"showVendorComment": "Vendor Comment",
|
||||
"useHTTPUrl": {
|
||||
"label": "QR code link",
|
||||
"tooltip": "Will use proprietary link that will work only if scanned from Spoolman's scanning feature (default). URL uses either the base URL specified in settings, or the current page URL if not set.",
|
||||
|
||||
@@ -153,6 +153,7 @@ const QRCodePrintingDialog: React.FC<QRCodePrintingDialogProps> = ({
|
||||
</Col>
|
||||
</Row>
|
||||
</Form.Item>
|
||||
|
||||
{extraSettings}
|
||||
</>
|
||||
}
|
||||
|
||||
@@ -31,7 +31,7 @@ const SpoolQRCodePrintingDialog: React.FC<SpoolQRCodePrintingDialog> = ({ spoolI
|
||||
? JSON.parse(baseUrlSetting.data?.value)
|
||||
: window.location.origin;
|
||||
const [messageApi, contextHolder] = message.useMessage();
|
||||
const [useHTTPUrl, setUseHTTPUrl] = useSavedState("print-useHTTPUrl", baseUrlSetting.data?.value !== "");
|
||||
const [useHTTPUrl, setUseHTTPUrl] = useSavedState("print-useHTTPUrl", false);
|
||||
|
||||
const itemQueries = useGetSpoolsByIds(spoolIds);
|
||||
const items = itemQueries
|
||||
|
||||
Reference in New Issue
Block a user