diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml index ce8ca80..1ae2084 100644 --- a/.gitea/workflows/build.yml +++ b/.gitea/workflows/build.yml @@ -118,8 +118,9 @@ jobs: echo "Pushing latest and main tags..." docker push ${IMAGE_BASE}:latest docker push ${IMAGE_BASE}:main - else - echo "Skipping latest/main tags - not on main branch (current: ${{ gitea.ref_name }})" + elif [ "${{ gitea.ref_name }}" = "dev" ]; then + echo "Pushing dev tag..." + docker push ${IMAGE_BASE}:dev fi - name: Create and push git tag diff --git a/src/frontend/src/store/destinationEdit.js b/src/frontend/src/store/destinationEdit.js index c339843..f8e25d0 100644 --- a/src/frontend/src/store/destinationEdit.js +++ b/src/frontend/src/store/destinationEdit.js @@ -128,14 +128,10 @@ export const useDestinationEditStore = defineStore('destinationEdit', { }, 10)); const destinationMap = new Map(); - - console.log("premiseids", premiseIds ) - + premiseIds.forEach(premiseId => { this.destinations.get(premiseId)?.forEach(toUpdate => { - console.log("toUpdate", toUpdate) - destinationMap.set(toUpdate.id,{ annual_amount: toUpdate.annual_amount, repackaging_costs: toUpdate.repackaging_costs, @@ -149,8 +145,6 @@ export const useDestinationEditStore = defineStore('destinationEdit', { } ) }); - console.log("destmap",destinationMap) - await performRequest(this, 'PUT', `${config.backendUrl}/calculation/destination/all`, {destinations: Object.fromEntries(destinationMap)}, false); this.loading = false;