mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-09-02 21:42:15 +08:00
chore(views/setup): move syncInProgress to meta tag
makes it easier to hanlde in the setup.ts file
This commit is contained in:
parent
c7b368fa46
commit
98c4baeb6b
@ -3,6 +3,7 @@
|
|||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
|
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
|
||||||
|
<meta id="syncInProgress" content="<%= syncInProgress ? 1 : 0 %>" />
|
||||||
<title><%= t("setup.title") %></title>
|
<title><%= t("setup.title") %></title>
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
@ -146,8 +147,6 @@
|
|||||||
window.glob = {
|
window.glob = {
|
||||||
componentId: ''
|
componentId: ''
|
||||||
};
|
};
|
||||||
|
|
||||||
window.syncInProgress = <%= syncInProgress ? 'true' : 'false' %>;
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<!-- Required for correct loading of scripts in Electron -->
|
<!-- Required for correct loading of scripts in Electron -->
|
||||||
|
Loading…
x
Reference in New Issue
Block a user