dev #42
@@ -17,7 +17,10 @@ import {
|
||||
TranslateHttpLoader,
|
||||
} from '@ngx-translate/http-loader';
|
||||
import { adminAuthInterceptor } from './core/interceptors/admin-auth.interceptor';
|
||||
import { provideClientHydration, withEventReplay } from '@angular/platform-browser';
|
||||
import {
|
||||
provideClientHydration,
|
||||
withEventReplay,
|
||||
} from '@angular/platform-browser';
|
||||
|
||||
export const appConfig: ApplicationConfig = {
|
||||
providers: [
|
||||
|
||||
@@ -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]);
|
||||
});
|
||||
|
||||
@@ -1,4 +1,7 @@
|
||||
import { BootstrapContext, bootstrapApplication } from '@angular/platform-browser';
|
||||
import {
|
||||
BootstrapContext,
|
||||
bootstrapApplication,
|
||||
} from '@angular/platform-browser';
|
||||
import { AppComponent } from './app/app.component';
|
||||
import { config } from './app/app.config.server';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user