mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-05-21 16:55:33 +02:00
refactor(frontend): reduce type errors
This commit is contained in:
@@ -84,6 +84,7 @@ const alwaysMarkNsfw = ref($i.alwaysMarkNsfw);
|
||||
const autoSensitive = ref($i.autoSensitive);
|
||||
|
||||
const meterStyle = computed(() => {
|
||||
if (!capacity.value || !usage.value) return {};
|
||||
return {
|
||||
width: `${usage.value / capacity.value * 100}%`,
|
||||
background: tinycolor({
|
||||
|
||||
Reference in New Issue
Block a user