Commit 45ee886c authored by Anton Koch's avatar Anton Koch

Merge branch '343-hide-account-settings---shared' into 'master'

hide account settings when logged out (#343)

See merge request !33
parents cea2b4c3 1fc39784
Pipeline #51005 passed with stage
in 12 minutes and 46 seconds
......@@ -146,10 +146,6 @@
q-btn.bg-primary.text-white(type="a", to="/piecemaker/timelines", icon="clear", round, size="sm")
// ------------------------------------------------------------------------------------------------------- mosys
q-item.q-pa-none.ui-border-bottom(v-if="showMosys", multiline, :class="{'active-app': currentApp === 'mosys'}")
// q-item-side
q-icon.q-mt-md.q-ml-md.icon-offset(:class="[currentApp === 'mosys' ? 'text-primary' : 'text-white']",
name="grid_on", size="1.2rem")
q-item-main
q-item-tile
user-nav-button.text-white(
......@@ -206,11 +202,7 @@
q-btn.bg-primary.text-white(type="a", to="/mosys/grids", icon="clear", round, size="sm")
// -------------------------------------------------------------------------------------------- account settings
q-item.q-pa-none.ui-border-bottom.q-mt-xl(multiline, :class="{'active-app': currentApp === 'users'}")
//
q-item-side
q-icon.q-mt-md.q-ml-md.icon-offset(:class="[currentApp === 'users' ? 'text-primary' : 'text-white']",
name="settings", size="1.2rem")
q-item.q-pa-none.ui-border-bottom(v-if="user", multiline, :class="{'active-app': currentApp === 'users'}")
q-item-main
q-item-tile
user-nav-button.text-white(
......@@ -222,10 +214,6 @@
:class="[currentApp === 'users' ? 'bg-grey-10' : '']")
// ------------------------------------------------------------------------------------------------ login/logout
q-item.q-pa-none(multiline)
//
q-item-side
q-icon.q-mt-md.q-ml-md.icon-offset.text-white(v-if="user", name="eject", size="1.2rem")
q-icon.q-mt-md.q-ml-md.icon-offset.text-white(v-if="!user && !isElectron", name="arrow_forward", size="1.2rem")
q-item-main
q-item-tile
q-btn.full-width(
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment