@@ -54,6 +57,7 @@ export default function Updater(): null {
...
@@ -54,6 +57,7 @@ export default function Updater(): null {
// automatically update minor/patch as long as bump matches the min update
// automatically update minor/patch as long as bump matches the min update
if(bump>=min){
if(bump>=min){
dispatch(acceptListUpdate(listUrl))
dispatch(acceptListUpdate(listUrl))
if(listUrl===selectedListUrl){
dispatch(
dispatch(
addPopup({
addPopup({
key:listUrl,
key:listUrl,
...
@@ -67,6 +71,7 @@ export default function Updater(): null {
...
@@ -67,6 +71,7 @@ export default function Updater(): null {
}
}
})
})
)
)
}
}else{
}else{
console.error(
console.error(
`List at url ${listUrl} could not automatically update because the version bump was only PATCH/MINOR while the update had breaking changes and should have been MAJOR`
`List at url ${listUrl} could not automatically update because the version bump was only PATCH/MINOR while the update had breaking changes and should have been MAJOR`
...
@@ -75,6 +80,7 @@ export default function Updater(): null {
...
@@ -75,6 +80,7 @@ export default function Updater(): null {
break
break
caseVersionUpgrade.MAJOR:
caseVersionUpgrade.MAJOR:
if(listUrl===selectedListUrl){
dispatch(
dispatch(
addPopup({
addPopup({
key:listUrl,
key:listUrl,
...
@@ -91,8 +97,9 @@ export default function Updater(): null {
...
@@ -91,8 +97,9 @@ export default function Updater(): null {