project-booster-vue 9.0.5 → 9.0.6
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
|
@@ -180,7 +180,7 @@ export const mediaDocumentsUploadStoreOptions = {
|
|
|
180
180
|
uploadFile.documentType ? uploadFile.documentType : 'ROOM_PHOTO',
|
|
181
181
|
trackProgress,
|
|
182
182
|
uploadFile.fileName,
|
|
183
|
-
|
|
183
|
+
'PLAN',
|
|
184
184
|
);
|
|
185
185
|
}
|
|
186
186
|
const location = response.headers.location;
|
|
@@ -436,7 +436,7 @@ export const mediaDocumentsListStoreOptions = {
|
|
|
436
436
|
commit('setMediaList', []);
|
|
437
437
|
commit('setIsLoadingMedia', false);
|
|
438
438
|
commit('setCurrentMediaPage', 0);
|
|
439
|
-
commit('setHasStillMedia',
|
|
439
|
+
commit('setHasStillMedia', false);
|
|
440
440
|
commit('setAddedMediaNumber', 0);
|
|
441
441
|
commit('setMediaLoadError', null);
|
|
442
442
|
},
|
|
@@ -487,7 +487,7 @@ export const mediaDocumentsListStoreOptions = {
|
|
|
487
487
|
state.context.subType,
|
|
488
488
|
);
|
|
489
489
|
}
|
|
490
|
-
commit('addMedia', media.results);
|
|
490
|
+
commit('addMedia', media.results ? media.results : []);
|
|
491
491
|
|
|
492
492
|
if (media.total >= 30) {
|
|
493
493
|
commit('setIsAddPhotoDisabled', true);
|