forked from FoundKeyGang/FoundKey
連合インスタンス設定ダイアログ
This commit is contained in:
parent
0cb04ded36
commit
048ed26f41
1 changed files with 9 additions and 0 deletions
|
@ -14,6 +14,8 @@
|
||||||
</FormKeyValueView>
|
</FormKeyValueView>
|
||||||
</FormGroup>
|
</FormGroup>
|
||||||
|
|
||||||
|
<FormButton v-if="$i.isAdmin || $i.isModerator" @click="info" primary>{{ $ts.settings }}</FormButton>
|
||||||
|
|
||||||
<FormTextarea readonly :value="instance.description">
|
<FormTextarea readonly :value="instance.description">
|
||||||
<span>{{ $ts.description }}</span>
|
<span>{{ $ts.description }}</span>
|
||||||
</FormTextarea>
|
</FormTextarea>
|
||||||
|
@ -147,6 +149,7 @@ import * as os from '@client/os';
|
||||||
import number from '@client/filters/number';
|
import number from '@client/filters/number';
|
||||||
import bytes from '@client/filters/bytes';
|
import bytes from '@client/filters/bytes';
|
||||||
import * as symbols from '@client/symbols';
|
import * as symbols from '@client/symbols';
|
||||||
|
import MkInstanceInfo from '@client/pages/instance/instance.vue';
|
||||||
|
|
||||||
const chartLimit = 90;
|
const chartLimit = 90;
|
||||||
const sum = (...arr) => arr.reduce((r, a) => r.map((b, i) => a[i] + b));
|
const sum = (...arr) => arr.reduce((r, a) => r.map((b, i) => a[i] + b));
|
||||||
|
@ -440,6 +443,12 @@ export default defineComponent({
|
||||||
}]
|
}]
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
|
|
||||||
|
info() {
|
||||||
|
os.popup(MkInstanceInfo, {
|
||||||
|
instance: this.instance
|
||||||
|
}, {}, 'closed');
|
||||||
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
|
Loading…
Reference in a new issue