Merge remote-tracking branch 'origin/feat/ssr' into feat/ssr
This commit is contained in:
@@ -929,7 +929,9 @@
|
||||
</option>
|
||||
<option
|
||||
*ngFor="
|
||||
let option of materialColorOptions(material.materialCode)
|
||||
let option of materialColorOptions(
|
||||
material.materialCode
|
||||
)
|
||||
"
|
||||
[ngValue]="option.key"
|
||||
>
|
||||
|
||||
@@ -817,7 +817,11 @@ export class AdminShopComponent implements OnInit, OnDestroy {
|
||||
return;
|
||||
}
|
||||
|
||||
if (!this.confirmBrowser('Rimuovere il modello 3D associato a questo prodotto?')) {
|
||||
if (
|
||||
!this.confirmBrowser(
|
||||
'Rimuovere il modello 3D associato a questo prodotto?',
|
||||
)
|
||||
) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
@@ -134,9 +134,10 @@ export class ContactFormComponent implements OnDestroy {
|
||||
return {
|
||||
file: f,
|
||||
type,
|
||||
url: this.isBrowser && this.shouldCreatePreview(type)
|
||||
? URL.createObjectURL(f)
|
||||
: undefined,
|
||||
url:
|
||||
this.isBrowser && this.shouldCreatePreview(type)
|
||||
? URL.createObjectURL(f)
|
||||
: undefined,
|
||||
};
|
||||
});
|
||||
this.files.set(filePreviews);
|
||||
@@ -192,9 +193,10 @@ export class ContactFormComponent implements OnDestroy {
|
||||
const preview: FilePreview = {
|
||||
file,
|
||||
type,
|
||||
url: this.isBrowser && this.shouldCreatePreview(type)
|
||||
? URL.createObjectURL(file)
|
||||
: undefined,
|
||||
url:
|
||||
this.isBrowser && this.shouldCreatePreview(type)
|
||||
? URL.createObjectURL(file)
|
||||
: undefined,
|
||||
};
|
||||
this.files.update((files) => [...files, preview]);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user