Skip to content

Commit b467d44

Browse files
authored
fix: open extension buy modal (#121)
1 parent f5dc076 commit b467d44

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "swag/swag-extension-store",
3-
"version": "4.1.0",
3+
"version": "4.1.1",
44
"description": "SWAG Extension Store",
55
"type": "shopware-platform-plugin",
66
"license": "MIT",

src/Resources/app/administration/src/module/sw-extension-store/service/extension-store.service.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ export default class ExtensionStoreService {
1717
}
1818

1919
public orderVariantsByPricePerMonth(variants: ExtensionVariant[]): ExtensionVariant[] {
20-
return variants.sort((first, second) => {
20+
return variants.toSorted((first, second) => {
2121
const firstPrice = this.getPriceFromVariant(first, true);
2222
const secondPrice = this.getPriceFromVariant(second, true);
2323

@@ -30,7 +30,7 @@ export default class ExtensionStoreService {
3030
return variants;
3131
}
3232

33-
return variants.sort((first, second) => {
33+
return variants.toSorted((first, second) => {
3434
if (!first.duration || !second.duration) {
3535
return 0;
3636
}

src/Resources/app/administration/tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"compilerOptions": {
33
"target": "ES2020",
4-
"lib": ["ES2020", "DOM"],
4+
"lib": ["ES2020", "DOM", "ES2023"],
55
"module": "commonjs",
66
"skipLibCheck": true,
77
"allowJs": true,

0 commit comments

Comments
 (0)