Skip to content
Snippets Groups Projects
Verified Commit 558437ae authored by Marc Hanisch's avatar Marc Hanisch
Browse files

removes superfluous function declaration

parent b27ed1a2
No related branches found
No related tags found
2 merge requests!104Load and save Generic Device Actions,!93Actions UI for devices
......@@ -89,21 +89,16 @@ permissions and limitations under the Licence.
*/
import { Component, Prop, Vue } from 'nuxt-property-decorator'
import { DateTime } from 'luxon'
import { dateToDateTimeString } from '@/utils/dateHelper'
import { GenericAction } from '@/models/GenericAction'
const toUtcDate = (date: DateTime): string => {
return dateToDateTimeString(date)
}
/**
* A class component for Generic Device Action card
* @extends Vue
*/
@Component({
filters: {
toUtcDate
toUtcDate: dateToDateTimeString
}
})
// @ts-ignore
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment