[O] Encapsulate error message function
This commit is contained in:
@@ -37,6 +37,11 @@
|
||||
{
|
||||
return this.text.split('\n');
|
||||
}
|
||||
|
||||
message()
|
||||
{
|
||||
return this.error ? 'Error' : 'Loading';
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user