refactor: refs #7701 deleted code

This commit is contained in:
Jon Elias 2025-04-15 16:06:37 +02:00
parent 46d74d3f63
commit 20674e90b1
3 changed files with 2 additions and 11 deletions

View File

@ -208,13 +208,6 @@ onMounted(async () => {
...['tableActions'], ...['tableActions'],
]; ];
createForm.value = $props.create; createForm.value = $props.create;
// if ($props.create && route?.query?.createForm) {
// showForm.value = true;
// createForm.value = {
// ...createForm.value,
// ...{ formInitialData: JSON.parse(route?.query?.createForm) },
// };
// }
}); });
onUnmounted(async () => { onUnmounted(async () => {
@ -1038,7 +1031,6 @@ const rowCtrlClickFunction = computed(() => {
transition-hide="scale" transition-hide="scale"
:full-width="createComplement?.isFullWidth ?? false" :full-width="createComplement?.isFullWidth ?? false"
data-cy="vn-table-create-dialog" data-cy="vn-table-create-dialog"
persistent
> >
<FormModelPopup <FormModelPopup
ref="createRef" ref="createRef"

View File

@ -204,9 +204,7 @@ async function beforeSave(data, getChanges) {
</VnRow> </VnRow>
</template> </template>
</VnSubToolbar> </VnSubToolbar>
<!-- si se añade persistent a los dialog funciona bien. <QDialog v-model="travelDialogRef" :class="['vn-row', 'wrap']">
Sin persistent no abre el dialog al primer click -->
<QDialog v-model="travelDialogRef" :class="['vn-row', 'wrap']" persistent>
<FormModelPopup <FormModelPopup
:url-update="`Travels/${travel?.id}`" :url-update="`Travels/${travel?.id}`"
model="travel" model="travel"

View File

@ -13,6 +13,7 @@ describe('Item summary', () => {
cy.dataCy('itemTags').should('be.visible'); cy.dataCy('itemTags').should('be.visible');
}); });
//falla
it('should regularize stock', () => { it('should regularize stock', () => {
cy.dataCy('descriptor-more-opts').click(); cy.dataCy('descriptor-more-opts').click();
cy.get('.q-menu > .q-list > :nth-child(1) > .q-item__section').click(); cy.get('.q-menu > .q-list > :nth-child(1) > .q-item__section').click();