Skip to content

Commit

Permalink
disable submit minigame
Browse files Browse the repository at this point in the history
  • Loading branch information
jamshidi799 committed Apr 30, 2021
1 parent 78a213a commit de9568e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion components/dashboard/submission/CodeSubmission.vue
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<v-row>
<v-chip-group style="display: flex" v-model="mode" column active-class="secondary--text secondary">
<v-chip filter outlined>اصلی</v-chip>
<v-chip filter outlined>مینی‌گیم</v-chip>
<v-chip disabled filter outlined>مینی‌گیم</v-chip>
</v-chip-group>
<v-col cols="12">
<v-file-input
Expand Down
2 changes: 1 addition & 1 deletion components/dashboard/submission/SubmissionsList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
@page-count="pageCount = $event"
>
<template v-slot:[`item.is_final`]="{ item }">
<v-btn icon @click="changeFinal(item)">
<v-btn icon :disabled="item.is_mini_game_final" @click="changeFinal(item)">
<v-icon>
{{ item.is_final || item.is_mini_game_final ? 'mdi-checkbox-marked' : 'mdi-checkbox-blank-outline' }}
</v-icon>
Expand Down
2 changes: 1 addition & 1 deletion layouts/dashboard.vue
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<template v-for="item in routes">
<v-list-item
:key="item.title"
class="py-6 pr-9"
class="py-md-4 py-lg-5 py-xl-6 pr-9"
active-class="font-weight-bold"
@click="activeLink = item.title"
style="min-height:36px;height:36px;font-weight-bold"
Expand Down

0 comments on commit de9568e

Please sign in to comment.