project-booster-vue 9.13.1 → 9.13.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "project-booster-vue",
3
- "version": "9.13.1",
3
+ "version": "9.13.2",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "serve": "vue-cli-service serve",
@@ -113,21 +113,11 @@ import DOCUMENT_UPLOAD_PAYLOAD from '../../media/upload/document-upload-payload.
113
113
  if (store.getters['estimates/getCurrentProjectId'] !== projectId) {
114
114
  store.dispatch('estimates/loadEstimates', projectId);
115
115
  }
116
- if (store.getters['media/getCurrentProjectId'] !== projectId) {
117
- store.dispatch('media/loadMedia', projectId);
118
- }
119
- if (store.getters['documents/getCurrentProjectId'] !== projectId) {
120
- store.dispatch('documents/loadMedia', projectId);
121
- }
122
116
  if (store.getters['projects/getCurrentProjectId'] !== projectId) {
123
117
  await store.dispatch('projects/loadProject', projectId);
124
118
  store.dispatch('projects/loadAppointment');
125
119
  store.dispatch('projects/loadProjectAttributes');
126
120
  }
127
- const projectType = store.getters['projects/getProject']?.projectType?.href?.split('/')[2];
128
- if (store.getters['tools/getCurrentProjectType'] !== projectType) {
129
- store.dispatch('tools/loadTools', projectType);
130
- }
131
121
  next();
132
122
  },
133
123
  },
@@ -259,7 +259,7 @@
259
259
  (isLoadingConfigurations || configurations.length > 0 || !!configurationsLoadError) &&
260
260
  !isLoadingTools &&
261
261
  (tools || readOnly) &&
262
- configurators.length !== 0
262
+ (configurators.length !== 0 || readOnly)
263
263
  ),
264
264
  }"
265
265
  direction="column"