project-booster-vue 9.56.1 → 9.56.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
|
@@ -40,6 +40,7 @@ export const TemplateSandbox = (args, { argTypes }) => {
|
|
|
40
40
|
components: { PbMediaDetail },
|
|
41
41
|
setup() {
|
|
42
42
|
const store = useStore();
|
|
43
|
+
store.dispatch('documents/setCurrentProjectId', { currentProjectId: '18f9ed7a-639a-4349-b56d-b07ff05c5a7a' });
|
|
43
44
|
return { args };
|
|
44
45
|
},
|
|
45
46
|
template: `<div style="flex-direction: column;display: flex;place-content: flex-start;align-items: center;min-height: 100vh;width: 100%;">
|
|
@@ -296,6 +296,11 @@ export default defineComponent({
|
|
|
296
296
|
'@@PB_MEDIA_ID_FILLER@@',
|
|
297
297
|
this.media.id,
|
|
298
298
|
);
|
|
299
|
+
} else {
|
|
300
|
+
mediaUrl = this.$store.getters[this.storePrefix + 'getMediaUrl'].replace(
|
|
301
|
+
'@@PB_MEDIA_ID_FILLER@@',
|
|
302
|
+
this.media.id,
|
|
303
|
+
);
|
|
299
304
|
}
|
|
300
305
|
return mediaUrl;
|
|
301
306
|
},
|