aboutsummaryrefslogtreecommitdiffstats
path: root/src/features/quickSwitch/index.js
diff options
context:
space:
mode:
authorLibravatar Markus Hatvan <markus_hatvan@aon.at>2021-10-14 13:24:58 +0200
committerLibravatar GitHub <noreply@github.com>2021-10-14 13:24:58 +0200
commitfe1ba2ad6affeb6c0e97c73171d8fa3f31dde73e (patch)
tree10caa332d957421e982c7ddd0c94623d5d62314d /src/features/quickSwitch/index.js
parentchore: convert various JS to TS (#2062) (diff)
downloadferdium-app-fe1ba2ad6affeb6c0e97c73171d8fa3f31dde73e.tar.gz
ferdium-app-fe1ba2ad6affeb6c0e97c73171d8fa3f31dde73e.tar.zst
ferdium-app-fe1ba2ad6affeb6c0e97c73171d8fa3f31dde73e.zip
chore: convert files to TS (#2066)
Diffstat (limited to 'src/features/quickSwitch/index.js')
-rw-r--r--src/features/quickSwitch/index.js19
1 files changed, 0 insertions, 19 deletions
diff --git a/src/features/quickSwitch/index.js b/src/features/quickSwitch/index.js
deleted file mode 100644
index a16017219..000000000
--- a/src/features/quickSwitch/index.js
+++ /dev/null
@@ -1,19 +0,0 @@
1import { state as ModalState } from './store';
2
3export { default as Component } from './Component';
4const state = ModalState;
5
6const debug = require('debug')('Ferdi:feature:quickSwitch');
7
8export default function initialize() {
9 debug('Initialize quickSwitch feature');
10
11 function showModal() {
12 state.isModalVisible = true;
13 }
14
15 window.ferdi.features.quickSwitch = {
16 state,
17 showModal,
18 };
19}