Skip to content

Commit

Permalink
FIX:
Browse files Browse the repository at this point in the history
Some Bug Fixes
  • Loading branch information
Hossara committed Jul 4, 2022
1 parent 9e324c8 commit e17070a
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/client/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "client",
"version": "1.0.1",
"version": "2.1.0",
"private": true,
"author": {
"url": "https://yastech.org",
Expand Down
3 changes: 2 additions & 1 deletion src/client/src/components/Layout.vue
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ const files = ref([])
const onlineRemovedItemsProfileEdit = ref([])
const authorName = ref(require("../../package.json").author.name)
const authorUrl = ref(require("../../package.json").author.url)
const version = ref(require("../../package.json").version)
const home_menu = ref([
{ name : "Home", path: "/" },
{ name : "About", path: "/about" },
Expand Down Expand Up @@ -393,7 +394,7 @@ const dashboard_menu = (index) =>

</div>
<p class="mt-24 mb-0 text-center">
© {{ new Date().getFullYear() }} Weeki All Right Reserved. | <a :href="authorUrl">{{ authorName }}</a> made this site with 💙 | version 1.1.4
© {{ new Date().getFullYear() }} Weeki All Right Reserved. | <a :href="authorUrl">{{ authorName }}</a> made this site with 💙 | version {{ version }}
</p>
</div>
</div>
Expand Down
5 changes: 3 additions & 2 deletions src/client/src/components/components/MobileMenu.vue
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const WeekiIconButton = defineAsyncComponent(() => import("@/components/elements
const MobileMenuItem = defineAsyncComponent(() => import("@/components/components/MobileMenuItem.vue"))
const layout = ref(router.currentRoute.value.meta["layout"])
const toggleMobileSidebar = () => document.querySelector("#mobile_menu")!.classList.toggle("d-none")
const toggleMobileSidebar = () => document.querySelector("#mobile_menu")?.classList.toggle("d-none")
const checkAuth = ref(store.getters.checkAuth)
const userInfo = computed(() => store.state.userData)
Expand Down Expand Up @@ -67,7 +67,8 @@ const dashboard_menu = (index) =>
<div class="dashboard" v-if="checkAuth">
<div class="part mt-12" v-for="(item, index) in title" :key="item">
<div class="part_title d-flex align-items-center justify-content-start">

<img :src="require(`@/assets/img/icons/${ item.icon }.svg`)" :alt="item.name" class="mr-16">
<p class="mb-0">{{ item.name }}</p>
</div>
<div class="menu_items" v-if="typeof userInfo['access'] !== 'undefined' && userInfo['access'] != null">
<MobileMenuItem
Expand Down
2 changes: 1 addition & 1 deletion src/client/src/components/elements/WeekiIconBtn.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

button.weekiIconBtn.btn( :type="type" )

//img( :src="require('@/assets/img/' + icon)" alt="img" )
img( :src="require('@/assets/img/' + icon)" alt="img" )

</template>

Expand Down

0 comments on commit e17070a

Please sign in to comment.