|
@@ -73,7 +73,12 @@ export const View = defineComponent({
|
|
|
onClick={() => actions.removeStreamCard(props.compId)}
|
|
|
/>
|
|
|
)}
|
|
|
- <IconAdd onClick={() => actions.addCompToDesign("Container")} />
|
|
|
+ <IconAdd
|
|
|
+ onClick={() => {
|
|
|
+ const index = store.streamCardIds.indexOf(props.compId) + 1;
|
|
|
+ actions.addCompToDesign("Container", index);
|
|
|
+ }}
|
|
|
+ />
|
|
|
</div>
|
|
|
)}
|
|
|
</div>
|