Skip to content

Commit

Permalink
Hide stand-alone app specific settings in web app
Browse files Browse the repository at this point in the history
  • Loading branch information
heyman committed Jan 4, 2024
1 parent 1491895 commit b6857a2
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/components/settings/Settings.vue
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
autoUpdate: this.initialSettings.autoUpdate,
activeTab: "general",
isWebApp: window.heynote.isWebApp,
}
},
Expand Down Expand Up @@ -89,6 +90,7 @@
@click="activeTab = 'appearance'"
/>
<TabListItem
v-if="!isWebApp"
name="Updates"
tab="updates"
:activeTab="activeTab"
Expand All @@ -115,7 +117,7 @@
</select>
</div>
</div>
<div class="row">
<div class="row" v-if="!isWebApp">
<div class="entry">
<h2>Global Keyboard Shortcut</h2>
<label class="keyboard-shortcut-label">
Expand All @@ -134,7 +136,7 @@
/>
</div>
</div>
<div class="row">
<div class="row" v-if="!isWebApp">
<div class="entry">
<h2>Show In</h2>
<label v-if="isMac">
Expand Down Expand Up @@ -183,7 +185,7 @@
</div>
</TabContent>

<TabContent tab="updates" :activeTab="activeTab">
<TabContent tab="updates" :activeTab="activeTab" v-if="!isWebApp">
<div class="row">
<div class="entry">
<h2>Auto Update</h2>
Expand Down

0 comments on commit b6857a2

Please sign in to comment.