Skip to content

Commit

Permalink
Fix: マージミス
Browse files Browse the repository at this point in the history
  • Loading branch information
mattyatea committed Jul 15, 2024
1 parent 15005c4 commit c2cf314
Show file tree
Hide file tree
Showing 3 changed files with 1,185 additions and 840 deletions.
5 changes: 2 additions & 3 deletions packages/frontend/src/components/MkMenu.vue
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ SPDX-License-Identifier: AGPL-3.0-only
v-else-if="item.type === 'link'"
role="menuitem"
:to="item.to"
:tabindex="i"
class="_button"
:class="[$style.item,{[$style.gamingDark]: gamingType === 'dark',[$style.gamingLight]: gamingType === 'light' }]"
@click.passive="close(true)"
Expand All @@ -49,7 +48,6 @@ SPDX-License-Identifier: AGPL-3.0-only
:href="item.href"
:target="item.target"
:download="item.download"
:tabindex="i"
class="_button"
:class="[$style.item,{[$style.gamingDark]: gamingType === 'dark',[$style.gamingLight]: gamingType === 'light' }]"
@click.passive="close(true)"
Expand Down Expand Up @@ -78,7 +76,6 @@ SPDX-License-Identifier: AGPL-3.0-only
<button
v-else-if="item.type === 'switch'"
role="menuitemcheckbox"
:tabindex="i"
class="_button"
:class="[$style.item, $style.switch, { [$style.switchDisabled]: item.disabled } , { [$style.gamingDark]: gamingType === 'dark',[$style.gamingLight]: gamingType === 'light' }]"
:disabled="unref(item.disabled)"
Expand Down Expand Up @@ -803,5 +800,7 @@ onBeforeUnmount(() => {
100% {
background-position: 0% 50%
}
}
}
}
</style>
3 changes: 1 addition & 2 deletions packages/frontend/src/pages/admin/roles.vue
Original file line number Diff line number Diff line change
Expand Up @@ -281,8 +281,7 @@ SPDX-License-Identifier: AGPL-3.0-only
</MkFolder>
</MkFoldableSection>

<MkButton primary rounded @cl
ick="updateBaseRole">{{ i18n.ts.save }}</MkButton>
<MkButton primary rounded @click="updateBaseRole">{{ i18n.ts.save }}</MkButton>
</div>
</MkFolder>
<MkButton primary rounded @click="create"><i class="ti ti-plus"></i> {{ i18n.ts._role.new }}</MkButton>
Expand Down
Loading

0 comments on commit c2cf314

Please sign in to comment.