lint
This commit is contained in:
		@@ -9,7 +9,7 @@
 | 
			
		||||
	</template>
 | 
			
		||||
 | 
			
		||||
	<div style="padding: 8px;">
 | 
			
		||||
		<MkChart :src="chartSrc" :args="{ user, withoutAll: true }" span="day" :limit="limit" :bar="true" :stacked="true" :detailed="false" :aspect-ratio="5"/>
 | 
			
		||||
		<MkChart :src="chartSrc" :args="{ user, withoutAll: true }" span="day" :limit="limit" :bar="true" :stacked="true" :detailed="false" :aspectRatio="5"/>
 | 
			
		||||
	</div>
 | 
			
		||||
</MkContainer>
 | 
			
		||||
</template>
 | 
			
		||||
 
 | 
			
		||||
@@ -4,7 +4,7 @@
 | 
			
		||||
		<i class="ti ti-antenna"></i><span style="margin-left: 8px;">{{ column.name }}</span>
 | 
			
		||||
	</template>
 | 
			
		||||
 | 
			
		||||
	<MkTimeline v-if="column.antennaId" ref="timeline" src="antenna" :antenna="column.antennaId" @after="() => emit('loaded')"/>
 | 
			
		||||
	<MkTimeline v-if="column.antennaId" ref="timeline" src="antenna" :antenna="column.antennaId"/>
 | 
			
		||||
</XColumn>
 | 
			
		||||
</template>
 | 
			
		||||
 | 
			
		||||
@@ -21,10 +21,6 @@ const props = defineProps<{
 | 
			
		||||
	isStacked: boolean;
 | 
			
		||||
}>();
 | 
			
		||||
 | 
			
		||||
const emit = defineEmits<{
 | 
			
		||||
	(ev: 'loaded'): void;
 | 
			
		||||
}>();
 | 
			
		||||
 | 
			
		||||
let timeline = $shallowRef<InstanceType<typeof MkTimeline>>();
 | 
			
		||||
 | 
			
		||||
onMounted(() => {
 | 
			
		||||
 
 | 
			
		||||
@@ -8,7 +8,7 @@
 | 
			
		||||
		<div style="padding: 8px; text-align: center;">
 | 
			
		||||
			<MkButton primary gradate rounded inline @click="post"><i class="ti ti-pencil"></i></MkButton>
 | 
			
		||||
		</div>
 | 
			
		||||
		<MkTimeline ref="timeline" src="channel" :channel="column.channelId" @after="() => emit('loaded')"/>
 | 
			
		||||
		<MkTimeline ref="timeline" src="channel" :channel="column.channelId"/>
 | 
			
		||||
	</template>
 | 
			
		||||
</XColumn>
 | 
			
		||||
</template>
 | 
			
		||||
@@ -27,10 +27,6 @@ const props = defineProps<{
 | 
			
		||||
	isStacked: boolean;
 | 
			
		||||
}>();
 | 
			
		||||
 | 
			
		||||
const emit = defineEmits<{
 | 
			
		||||
	(ev: 'loaded'): void;
 | 
			
		||||
}>();
 | 
			
		||||
 | 
			
		||||
let timeline = $shallowRef<InstanceType<typeof MkTimeline>>();
 | 
			
		||||
let channel = $shallowRef<misskey.entities.Channel>();
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -17,9 +17,6 @@ defineProps<{
 | 
			
		||||
	isStacked: boolean;
 | 
			
		||||
}>();
 | 
			
		||||
 | 
			
		||||
const emit = defineEmits<{
 | 
			
		||||
}>();
 | 
			
		||||
 | 
			
		||||
const pagination = {
 | 
			
		||||
	endpoint: 'notes/mentions' as const,
 | 
			
		||||
	limit: 10,
 | 
			
		||||
 
 | 
			
		||||
@@ -4,7 +4,7 @@
 | 
			
		||||
		<i class="ti ti-list"></i><span style="margin-left: 8px;">{{ column.name }}</span>
 | 
			
		||||
	</template>
 | 
			
		||||
 | 
			
		||||
	<MkTimeline v-if="column.listId" ref="timeline" src="list" :list="column.listId" @after="() => emit('loaded')"/>
 | 
			
		||||
	<MkTimeline v-if="column.listId" ref="timeline" src="list" :list="column.listId"/>
 | 
			
		||||
</XColumn>
 | 
			
		||||
</template>
 | 
			
		||||
 | 
			
		||||
@@ -21,10 +21,6 @@ const props = defineProps<{
 | 
			
		||||
	isStacked: boolean;
 | 
			
		||||
}>();
 | 
			
		||||
 | 
			
		||||
const emit = defineEmits<{
 | 
			
		||||
	(ev: 'loaded'): void;
 | 
			
		||||
}>();
 | 
			
		||||
 | 
			
		||||
let timeline = $shallowRef<InstanceType<typeof MkTimeline>>();
 | 
			
		||||
 | 
			
		||||
if (props.column.listId == null) {
 | 
			
		||||
 
 | 
			
		||||
@@ -25,9 +25,6 @@ defineProps<{
 | 
			
		||||
	isStacked: boolean;
 | 
			
		||||
}>();
 | 
			
		||||
 | 
			
		||||
const emit = defineEmits<{
 | 
			
		||||
}>();
 | 
			
		||||
 | 
			
		||||
let pageMetadata = $ref<null | ComputedRef<PageMetadata>>();
 | 
			
		||||
 | 
			
		||||
provide('router', mainRouter);
 | 
			
		||||
 
 | 
			
		||||
@@ -17,9 +17,6 @@ defineProps<{
 | 
			
		||||
	isStacked: boolean;
 | 
			
		||||
}>();
 | 
			
		||||
 | 
			
		||||
const emit = defineEmits<{
 | 
			
		||||
}>();
 | 
			
		||||
 | 
			
		||||
const pagination = {
 | 
			
		||||
	endpoint: 'notes/mentions' as const,
 | 
			
		||||
	limit: 10,
 | 
			
		||||
 
 | 
			
		||||
@@ -19,9 +19,6 @@ const props = defineProps<{
 | 
			
		||||
	isStacked: boolean;
 | 
			
		||||
}>();
 | 
			
		||||
 | 
			
		||||
const emit = defineEmits<{
 | 
			
		||||
}>();
 | 
			
		||||
 | 
			
		||||
function func() {
 | 
			
		||||
	os.popup(defineAsyncComponent(() => import('@/components/MkNotificationSettingWindow.vue')), {
 | 
			
		||||
		includingTypes: props.column.includingTypes,
 | 
			
		||||
 
 | 
			
		||||
@@ -4,7 +4,7 @@
 | 
			
		||||
		<i class="ti ti-badge"></i><span style="margin-left: 8px;">{{ column.name }}</span>
 | 
			
		||||
	</template>
 | 
			
		||||
 | 
			
		||||
	<MkTimeline v-if="column.roleId" ref="timeline" src="role" :role="column.roleId" @after="() => emit('loaded')"/>
 | 
			
		||||
	<MkTimeline v-if="column.roleId" ref="timeline" src="role" :role="column.roleId"/>
 | 
			
		||||
</XColumn>
 | 
			
		||||
</template>
 | 
			
		||||
 | 
			
		||||
@@ -21,10 +21,6 @@ const props = defineProps<{
 | 
			
		||||
	isStacked: boolean;
 | 
			
		||||
}>();
 | 
			
		||||
 | 
			
		||||
const emit = defineEmits<{
 | 
			
		||||
	(ev: 'loaded'): void;
 | 
			
		||||
}>();
 | 
			
		||||
 | 
			
		||||
let timeline = $shallowRef<InstanceType<typeof MkTimeline>>();
 | 
			
		||||
 | 
			
		||||
onMounted(() => {
 | 
			
		||||
 
 | 
			
		||||
@@ -15,7 +15,7 @@
 | 
			
		||||
		</p>
 | 
			
		||||
		<p :class="$style.disabledDescription">{{ i18n.ts._disabledTimeline.description }}</p>
 | 
			
		||||
	</div>
 | 
			
		||||
	<MkTimeline v-else-if="column.tl" ref="timeline" :key="column.tl" :src="column.tl" @after="() => emit('loaded')"/>
 | 
			
		||||
	<MkTimeline v-else-if="column.tl" ref="timeline" :key="column.tl" :src="column.tl"/>
 | 
			
		||||
</XColumn>
 | 
			
		||||
</template>
 | 
			
		||||
 | 
			
		||||
@@ -34,10 +34,6 @@ const props = defineProps<{
 | 
			
		||||
	isStacked: boolean;
 | 
			
		||||
}>();
 | 
			
		||||
 | 
			
		||||
const emit = defineEmits<{
 | 
			
		||||
	(ev: 'loaded'): void;
 | 
			
		||||
}>();
 | 
			
		||||
 | 
			
		||||
let disabled = $ref(false);
 | 
			
		||||
 | 
			
		||||
const isLocalTimelineAvailable = (($i == null && instance.policies.ltlAvailable) || ($i != null && $i.policies.ltlAvailable));
 | 
			
		||||
 
 | 
			
		||||
@@ -21,9 +21,6 @@ const props = defineProps<{
 | 
			
		||||
	isStacked: boolean;
 | 
			
		||||
}>();
 | 
			
		||||
 | 
			
		||||
const emit = defineEmits<{
 | 
			
		||||
}>();
 | 
			
		||||
 | 
			
		||||
let edit = $ref(false);
 | 
			
		||||
 | 
			
		||||
function addWidget(widget) {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user