From 2af088969a26f8a3063336cc3885c10441087e81 Mon Sep 17 00:00:00 2001 From: taehoon Date: Sat, 27 Apr 2019 09:36:10 -0400 Subject: improve error handling logic --- src/components/status/status.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/components/status/status.js') diff --git a/src/components/status/status.js b/src/components/status/status.js index 09a2a010..a1ffb026 100644 --- a/src/components/status/status.js +++ b/src/components/status/status.js @@ -302,9 +302,9 @@ const Status = { }, showError (error) { this.error = error - setTimeout(() => { - this.error = null - }, 5000) + }, + clearError () { + this.error = undefined }, linkClicked (event) { let { target } = event -- cgit v1.2.3-70-g09d2