diff options
| author | syuilo <4439005+syuilo@users.noreply.github.com> | 2025-09-01 12:31:27 +0900 |
|---|---|---|
| committer | syuilo <4439005+syuilo@users.noreply.github.com> | 2025-09-01 12:31:27 +0900 |
| commit | d27c740ab02b635da6ec7bb2d76835525009489e (patch) | |
| tree | 343d4baaf9c25134ce4b1b69ab11fbfffa7aa6fc /packages/frontend/src/pages/user | |
| parent | refactor (diff) | |
| download | misskey-d27c740ab02b635da6ec7bb2d76835525009489e.tar.gz misskey-d27c740ab02b635da6ec7bb2d76835525009489e.tar.bz2 misskey-d27c740ab02b635da6ec7bb2d76835525009489e.zip | |
refactor
Diffstat (limited to 'packages/frontend/src/pages/user')
| -rw-r--r-- | packages/frontend/src/pages/user/activity.following.vue | 4 | ||||
| -rw-r--r-- | packages/frontend/src/pages/user/activity.notes.vue | 4 | ||||
| -rw-r--r-- | packages/frontend/src/pages/user/activity.pv.vue | 6 |
3 files changed, 9 insertions, 5 deletions
diff --git a/packages/frontend/src/pages/user/activity.following.vue b/packages/frontend/src/pages/user/activity.following.vue index d1cfa5356b..4310c7ad85 100644 --- a/packages/frontend/src/pages/user/activity.following.vue +++ b/packages/frontend/src/pages/user/activity.following.vue @@ -161,7 +161,9 @@ async function renderChart() { }, external: externalTooltipHandler, }, - gradient, + ...({ // TSを黙らすため + gradient, + }), }, }, plugins: [chartVLine(vLineColor), chartLegend(legendEl.value)], diff --git a/packages/frontend/src/pages/user/activity.notes.vue b/packages/frontend/src/pages/user/activity.notes.vue index 1cf7a00716..6d9c1bedd9 100644 --- a/packages/frontend/src/pages/user/activity.notes.vue +++ b/packages/frontend/src/pages/user/activity.notes.vue @@ -160,7 +160,9 @@ async function renderChart() { }, external: externalTooltipHandler, }, - gradient, + ...({ // TSを黙らすため + gradient, + }), }, }, plugins: [chartVLine(vLineColor), chartLegend(legendEl.value)], diff --git a/packages/frontend/src/pages/user/activity.pv.vue b/packages/frontend/src/pages/user/activity.pv.vue index 2539a6777b..76df53becd 100644 --- a/packages/frontend/src/pages/user/activity.pv.vue +++ b/packages/frontend/src/pages/user/activity.pv.vue @@ -154,8 +154,6 @@ async function renderChart() { display: true, text: 'Unique/Natural PV', padding: { - left: 0, - right: 0, top: 0, bottom: 12, }, @@ -171,7 +169,9 @@ async function renderChart() { }, external: externalTooltipHandler, }, - gradient, + ...({ // TSを黙らすため + gradient, + }), }, }, plugins: [chartVLine(vLineColor), chartLegend(legendEl.value)], |