Skip to content

Commit

Permalink
style: lint code
Browse files Browse the repository at this point in the history
  • Loading branch information
cnouguier committed Aug 1, 2024
1 parent bad9b88 commit 771f7e8
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 14 deletions.
3 changes: 1 addition & 2 deletions src/boot/kdk.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export default async ({ app }) => {
app.component('KPanel', await kdkCoreUtils.loadComponent('KPanel'))
app.component('KStamp', await kdkCoreUtils.loadComponent('KStamp'))
app.component('KModal', await kdkCoreUtils.loadComponent('KModal'))
app.component('KDialog', await kdkCoreUtils.loadComponent('KDialog'))
app.component('KDialog', await kdkCoreUtils.loadComponent('KDialog'))
app.component('KDate', await kdkCoreUtils.loadComponent('time/KDate'))
app.component('KTime', await kdkCoreUtils.loadComponent('time/KTime'))
app.component('KDateTime', await kdkCoreUtils.loadComponent('time/KDateTime'))
Expand All @@ -54,7 +54,6 @@ export default async ({ app }) => {
app.component('KTimeLine', await kdkCoreUtils.loadComponent('collection/KTimeLine'))
app.component('KActivity', await kdkCoreUtils.loadComponent('KActivity'))


// Register global properties
// FIXME: This is used for testing purpose, don't know how to access this from Puppeteer otherwise
global.$store = app.config.globalProperties.$store
Expand Down
2 changes: 1 addition & 1 deletion src/components/CollectionActivity.vue
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export default {
this.setTopPaneMode(this.page)
this.setPageMode(this.page)
}
},
},
mounted () {
this.refresh()
}
Expand Down
4 changes: 2 additions & 2 deletions src/components/KanbanActivity.vue
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export default {
value: 'doing',
props: {
service: 'documents',
renderer: { component: 'collection/KCard', class: 'full-width' },
renderer: { component: 'collection/KCard', class: 'full-width' },
baseQuery: Object.assign({ etat_sani: 'malade' })
},
width: this.columnWidth
Expand All @@ -53,7 +53,7 @@ export default {
value: 'done',
props: {
service: 'documents',
renderer: { component: 'collection/KCard', class: 'full-width' },
renderer: { component: 'collection/KCard', class: 'full-width' },
baseQuery: Object.assign({ etat_sani: 'declin' })
},
width: this.columnWidth
Expand Down
1 change: 0 additions & 1 deletion src/components/screen/ScreenActivity.vue
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
:toggle="{ icon: 'las la-compress', label: 'ScreenActivity.EXIT_FULLSCREEN' }"
renderer="form-button"
/>

</div>
</KActivity>
</template>
Expand Down
10 changes: 5 additions & 5 deletions src/router/routes.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,11 @@ module.exports = [{
tour: {
home: tours.home,
'side-nav': tours['side-nav']
},
}
},
'screen': {
screen: {
name: 'screen-activity',
component: 'screen/ScreenActivity',
component: 'screen/ScreenActivity'
},
'layout/:mode': {
name: 'layout-activity',
Expand All @@ -55,7 +55,7 @@ module.exports = [{
},
messages: {
name: 'messages-activity',
component: 'messages/MessagesActivity',
component: 'messages/MessagesActivity'
},
'collection/:page': {
name: 'collection-activity',
Expand Down Expand Up @@ -102,7 +102,7 @@ module.exports = [{
props: true
}
}
},
},
webpush: {
name: 'webpush-activity',
component: 'webpush/WebpushActivity'
Expand Down
2 changes: 1 addition & 1 deletion test/misc.test.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -45,4 +45,4 @@ describe(`suite:${suite}`, () => {
await core.logout(page)
await runner.stop()
})
})
})
4 changes: 2 additions & 2 deletions test/webpush.test.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ describe(`suite:${suite}`, () => {

before(async () => {
chailint(chai, util)

runner = new core.Runner(suite, {
appName: 'kapp',
browser: {
Expand Down Expand Up @@ -59,4 +59,4 @@ describe(`suite:${suite}`, () => {
await core.logout(page)
await runner.stop()
})
})
})

0 comments on commit 771f7e8

Please sign in to comment.