[O] Encapsulate error message function

This commit is contained in:
Hykilpikonna
2019-10-13 21:28:04 -04:00
parent 755b61efe3
commit ba9b24a276
+5
View File
@@ -37,6 +37,11 @@
{
return this.text.split('\n');
}
message()
{
return this.error ? 'Error' : 'Loading';
}
}
</script>