eye candy comments
All checks were successful
the build was successful

This commit is contained in:
konrad 2019-02-20 22:17:32 +01:00
parent 7f636f6c38
commit f50abd8640
Signed by: konrad
GPG Key ID: F40E70337AB24C9B
2 changed files with 8 additions and 0 deletions

View File

@ -26,6 +26,8 @@ export default class ListModel extends AbstractModel {
////////
// Helpers
//////
sortTasks() {
if (this.tasks === null || this.tasks === []) {
return

View File

@ -7,6 +7,8 @@ export default class AbstractService {
/////////////////////////////
// Initial variable definitions
///////////////////////////
http = null
loading = false
paths = {
@ -18,6 +20,7 @@ export default class AbstractService {
/////////////
// Service init
///////////
/**
* The abstract constructor.
@ -47,6 +50,7 @@ export default class AbstractService {
/////////////////////
// Global error handler
///////////////////
/**
* Handles the error and rejects the promise.
@ -60,6 +64,7 @@ export default class AbstractService {
/////////////////
// Helper functions
///////////////
/**
* Returns an object with all route parameters and their values.
@ -120,6 +125,7 @@ export default class AbstractService {
///////////////
// Global actions
/////////////
/**
* Performs a get request to the url specified before.