fix: Remove some en, ensure setting is default false

This commit is contained in:
samturner3
2024-08-26 18:34:00 +10:00
parent c54e11ca11
commit e65b87cc33
3 changed files with 2 additions and 7 deletions

View File

@@ -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.", "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", "textSize": "Label Text Size",
"showContent": "Print Label", "showContent": "Print Label",
"showLotNr": "Lot Nr",
"showSpoolWeight": "Spool Weight",
"showTemperatures": "Temperatures",
"showSpoolComment": "Spool Comment",
"showFilamentComment": "Filament Comment",
"showVendorComment": "Vendor Comment",
"useHTTPUrl": { "useHTTPUrl": {
"label": "QR code link", "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.", "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.",

View File

@@ -153,6 +153,7 @@ const QRCodePrintingDialog: React.FC<QRCodePrintingDialogProps> = ({
</Col> </Col>
</Row> </Row>
</Form.Item> </Form.Item>
{extraSettings} {extraSettings}
</> </>
} }

View File

@@ -31,7 +31,7 @@ const SpoolQRCodePrintingDialog: React.FC<SpoolQRCodePrintingDialog> = ({ spoolI
? JSON.parse(baseUrlSetting.data?.value) ? JSON.parse(baseUrlSetting.data?.value)
: window.location.origin; : window.location.origin;
const [messageApi, contextHolder] = message.useMessage(); 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 itemQueries = useGetSpoolsByIds(spoolIds);
const items = itemQueries const items = itemQueries