Cleanup code & make sure it has a common code style
This commit is contained in:
@ -2,11 +2,11 @@ export default {
|
||||
setLoading(context) {
|
||||
const timeout = setTimeout(function () {
|
||||
context.loading = true
|
||||
}, 100);
|
||||
}, 100)
|
||||
return () => {
|
||||
clearTimeout(timeout)
|
||||
context.loading = false
|
||||
};
|
||||
}
|
||||
},
|
||||
error(e, context, actions = []) {
|
||||
// Build the notification text from error response
|
||||
|
Reference in New Issue
Block a user