mirror of
https://codeberg.org/yeentown/barkey.git
synced 2025-07-07 20:44:34 +00:00
Appease linter
This commit is contained in:
parent
7f64a27268
commit
0937779bc2
1 changed files with 8 additions and 8 deletions
|
@ -383,7 +383,7 @@ export function getNoteMenu(props: {
|
||||||
icon: 'ti ti-repeat',
|
icon: 'ti ti-repeat',
|
||||||
text: i18n.ts.renote,
|
text: i18n.ts.renote,
|
||||||
children: () => getNewRenoteMenu(appearNote),
|
children: () => getNewRenoteMenu(appearNote),
|
||||||
})
|
});
|
||||||
|
|
||||||
menuItems.push({
|
menuItems.push({
|
||||||
type: 'parent',
|
type: 'parent',
|
||||||
|
@ -613,7 +613,7 @@ export async function getNewRenoteMenu(appearNote: Misskey.entities.Note): Promi
|
||||||
// Local-only notes should have the switch visibly forced on.
|
// Local-only notes should have the switch visibly forced on.
|
||||||
if (appearNote.localOnly) {
|
if (appearNote.localOnly) {
|
||||||
for (const item of renoteItems) {
|
for (const item of renoteItems) {
|
||||||
if (item && item['type'] == "switch" && item['text'] == i18n.ts._timelines.local) {
|
if (item && item['type'] === "switch" && item['text'] === i18n.ts._timelines.local) {
|
||||||
item['ref'] = ref(true);
|
item['ref'] = ref(true);
|
||||||
item['disabled'] = true;
|
item['disabled'] = true;
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Add table
Reference in a new issue