diff --git a/src/components/CrudModel.vue b/src/components/CrudModel.vue index c8fa5809c..fb3ac10c3 100644 --- a/src/components/CrudModel.vue +++ b/src/components/CrudModel.vue @@ -24,6 +24,10 @@ const $props = defineProps({ type: String, default: '', }, + limit: { + type: Number, + default: 20, + }, saveUrl: { type: String, default: null, @@ -76,6 +80,7 @@ defineExpose({ reset, hasChanges, saveChanges, + getChanges, }); async function fetch(data) { @@ -260,6 +265,7 @@ watch(formUrl, async () => { + + +
+
+
+ + Video + + + + + +
+
+
+
- - -
-
-
- - Videoheader - - - - - -
-
-
-
-
diff --git a/src/pages/Worker/Card/WorkerNotes.vue b/src/pages/Worker/Card/WorkerNotes.vue index 6c74aefa0..c15b1dfab 100644 --- a/src/pages/Worker/Card/WorkerNotes.vue +++ b/src/pages/Worker/Card/WorkerNotes.vue @@ -28,11 +28,5 @@ const body = { diff --git a/test/cypress/integration/claim/claimNotes.spec.js b/test/cypress/integration/claim/claimNotes.spec.js index 0a0f28fe7..a4a493cda 100644 --- a/test/cypress/integration/claim/claimNotes.spec.js +++ b/test/cypress/integration/claim/claimNotes.spec.js @@ -1,4 +1,3 @@ -/// describe('ClaimNotes', () => { beforeEach(() => { cy.login('developer'); @@ -7,11 +6,8 @@ describe('ClaimNotes', () => { it('should add a new note', () => { const message = 'This is a new message.'; - cy.get('.q-page-sticky > div > button').click(); - cy.get('.q-dialog .q-card__section:nth-child(2)').type(message); - cy.get('.q-card__actions button:nth-child(2)').click(); - cy.get('.q-card .q-card__section:nth-child(2)') - .eq(0) - .should('have.text', message); + cy.get('.q-textarea').type(message); + cy.get('.q-field__append > .q-btn > .q-btn__content > .q-icon').click(); //save + cy.get(':nth-child(1) > .q-card__section--vert').should('have.text', message); }); });