Skip to content

Commit

Permalink
Merge pull request #135 from BUTR/dev
Browse files Browse the repository at this point in the history
Release 1.1.1
  • Loading branch information
Aragas authored Jun 30, 2024
2 parents 0bfebeb + b2db753 commit 7588454
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 14 deletions.
3 changes: 3 additions & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
---------------------------------------------------------------------------------------------------
Version: 1.1.1
* Fixed collection creation
---------------------------------------------------------------------------------------------------
Version: 1.1.0
* Added back collection support
* Old collections will now set the Load Order on install
Expand Down
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "game-mount-and-blade-ii-bannerlord-butr",
"version": "1.1.0",
"version": "1.1.1",
"description": "A Vortex extension for Mount and Blade II: Bannerlord mod management.",
"author": "BUTR Team & Nexus Mods",
"license": "GPL-3.0+",
Expand Down Expand Up @@ -68,7 +68,8 @@
},
"resolutions": {
"@types/react": "^16.14.34",
"**/dir-compare/minimatch": "3.0.5"
"**/dir-compare/minimatch": "3.0.5",
"braces": "3.0.3"
},
"packageManager": "yarn@1.22.19"
}
9 changes: 6 additions & 3 deletions src/views/CollectionGeneralData/pages/GeneralDataPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,12 @@ export const BannerlordGeneralDataPage = (props: BannerlordGeneralDataPageProps)
const context = useContext(MainContext);

useEffect(() => {
const data = genCollectionGeneralData(context.api, Object.keys(mods));
setHasBLSE(data.hasBLSE);
setPersistentLoadOrder(data.suggestedLoadOrder);
async function setData(): Promise<void> {
const data = await genCollectionGeneralData(context.api, Object.keys(mods));
setHasBLSE(data.hasBLSE);
setPersistentLoadOrder(data.suggestedLoadOrder);
}
setData().catch(() => {});
}, [context.api, mods]);

const { localize: t } = useLocalization();
Expand Down
18 changes: 9 additions & 9 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -920,12 +920,12 @@ brace-expansion@^2.0.1:
dependencies:
balanced-match "^1.0.0"

braces@^3.0.2:
version "3.0.2"
resolved "https://registry.yarnpkg.com/braces/-/braces-3.0.2.tgz#3454e1a462ee8d599e236df336cd9ea4f8afe107"
integrity sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==
braces@3.0.3, braces@^3.0.2:
version "3.0.3"
resolved "https://registry.yarnpkg.com/braces/-/braces-3.0.3.tgz#490332f40919452272d55a8480adc0c441358789"
integrity sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==
dependencies:
fill-range "^7.0.1"
fill-range "^7.1.1"

browserslist@^4.21.10:
version "4.23.0"
Expand Down Expand Up @@ -1758,10 +1758,10 @@ file-entry-cache@^6.0.1:
dependencies:
flat-cache "^3.0.4"

fill-range@^7.0.1:
version "7.0.1"
resolved "https://registry.yarnpkg.com/fill-range/-/fill-range-7.0.1.tgz#1919a6a7c75fe38b2c7c77e5198535da9acdda40"
integrity sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==
fill-range@^7.1.1:
version "7.1.1"
resolved "https://registry.yarnpkg.com/fill-range/-/fill-range-7.1.1.tgz#44265d3cac07e3ea7dc247516380643754a05292"
integrity sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==
dependencies:
to-regex-range "^5.0.1"

Expand Down

0 comments on commit 7588454

Please sign in to comment.