Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unused variables #42

Closed
IceflowRE opened this issue Sep 28, 2024 · 1 comment
Closed

Unused variables #42

IceflowRE opened this issue Sep 28, 2024 · 1 comment

Comments

@IceflowRE
Copy link

IceflowRE commented Sep 28, 2024

profileSidebarVisible: false,
configSidebarVisible: false,

Is not used anywhere.

(not gonna open a separate issue for the next one)

<router-link v-if="item.to && !item.items && item.visible !== false" @click="itemClick($event, item, index)" :class="[item.class, { 'active-route': checkActiveRoute(item) }]" tabindex="0" :to="item.to">
<i :class="item.icon" class="layout-menuitem-icon"></i>
<span class="layout-menuitem-text">{{ item.label }}</span>
<i class="pi pi-fw pi-angle-down layout-submenu-toggler" v-if="item.items"></i>
</router-link>

Line 82 can be removed as it is always false. You check above !items.items and then if items.items.

@IceflowRE IceflowRE changed the title Unused variable Unused variables Sep 28, 2024
@tugcekucukoglu
Copy link
Member

We will take a look. Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants