From 511edfb5b9130f4e0f930c4e0bda759988e6d727 Mon Sep 17 00:00:00 2001 From: kolaente Date: Wed, 19 Dec 2018 12:27:03 +0100 Subject: [PATCH] cancel() disables loading now --- src/message/index.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/message/index.js b/src/message/index.js index edcfedac..71cf82b2 100644 --- a/src/message/index.js +++ b/src/message/index.js @@ -4,7 +4,8 @@ export default { context.loading = true }, 100); return () => { - clearTimeout(timeout); + clearTimeout(timeout) + context.loading = false }; }, error(e, context) {