From d64d07aee5d5ab12338845f897df4791f7abcc43 Mon Sep 17 00:00:00 2001 From: RMidhunSuresh Date: Sun, 27 Jun 2021 15:02:57 +0530 Subject: [PATCH] Move loading view into separate file Signed-off-by: RMidhunSuresh --- src/platform/web/ui/session/rightpanel/LoadingView.js | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 src/platform/web/ui/session/rightpanel/LoadingView.js diff --git a/src/platform/web/ui/session/rightpanel/LoadingView.js b/src/platform/web/ui/session/rightpanel/LoadingView.js new file mode 100644 index 00000000..eeafea70 --- /dev/null +++ b/src/platform/web/ui/session/rightpanel/LoadingView.js @@ -0,0 +1,8 @@ +import {TemplateView} from "../../general/TemplateView.js"; +import {spinner} from "../../common.js"; + +export class LoadingView extends TemplateView { + render(t) { + return t.div(["Loading ", spinner(t)]); + } +}