dev #42

Merged
JoeKung merged 12 commits from dev into main 2026-03-11 17:35:12 +01:00
5 changed files with 24 additions and 10 deletions
Showing only changes of commit 379a2161ca - Show all commits

View File

@@ -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: [

View File

@@ -929,7 +929,9 @@
</option>
<option
*ngFor="
let option of materialColorOptions(material.materialCode)
let option of materialColorOptions(
material.materialCode
)
"
[ngValue]="option.key"
>

View File

@@ -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;
}

View File

@@ -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]);
});

View File

@@ -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';