refactor: refs #8619 simplify empty data check in RouteDescriptor component
gitea/salix-front/pipeline/pr-dev There was a failure building this commit
Details
gitea/salix-front/pipeline/pr-dev There was a failure building this commit
Details
This commit is contained in:
parent
955d2dd5c4
commit
b614cb2046
|
@ -33,7 +33,7 @@ const getZone = async () => {
|
|||
},
|
||||
});
|
||||
|
||||
if ( data.length == 0 ) return;
|
||||
if (!data.length) return;
|
||||
const firstRecord = data[0];
|
||||
|
||||
zoneId.value = firstRecord.zoneFk;
|
||||
|
|
|
@ -133,10 +133,6 @@ describe('Route extended list', () => {
|
|||
|
||||
const fileName = 'download.zip';
|
||||
cy.readFile(`${downloadsFolder}/${fileName}`).should('exist');
|
||||
|
||||
// cy.task('deleteFile', `${downloadsFolder}/${fileName}`).then((deleted) => {
|
||||
// expect(deleted).to.be.true;
|
||||
// });
|
||||
});
|
||||
|
||||
it('Should mark as served the selected route', () => {
|
||||
|
|
Loading…
Reference in New Issue