diff options
| author | taehoon <th.dev91@gmail.com> | 2019-04-27 09:36:10 -0400 |
|---|---|---|
| committer | taehoon <th.dev91@gmail.com> | 2019-05-15 12:04:26 -0400 |
| commit | 2af088969a26f8a3063336cc3885c10441087e81 (patch) | |
| tree | a3239de2b02f7fd2d1d37401a65653b91704201e /src/components/status/status.js | |
| parent | 12f8269f0136b00319ef5fe58ae98848fc9d8059 (diff) | |
improve error handling logic
Diffstat (limited to 'src/components/status/status.js')
| -rw-r--r-- | src/components/status/status.js | 6 |
1 files changed, 3 insertions, 3 deletions
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 |
