Client: Added some info to qr code printing label

This commit is contained in:
Donkie
2023-08-09 18:50:04 +02:00
parent 3dc678a575
commit ec80973f96
6 changed files with 82 additions and 21 deletions

View File

@@ -41,8 +41,8 @@ export const SpoolCreate: React.FC<
if (!name) {
name = `ID: ${item.id}`;
}
let material = ""
if (item.material) {
let material = "";
if (item.material) {
material = ` - ${item.material}`;
}
const label = `${vendorPrefix}${name}${material}`;

View File

@@ -25,8 +25,8 @@ export const SpoolEdit: React.FC<IResourceComponentsProps> = () => {
if (!name) {
name = `ID: ${item.id}`;
}
let material = ""
if (item.material) {
let material = "";
if (item.material) {
material = ` - ${item.material}`;
}
const label = `${vendorPrefix}${name}${material}`;