Faviconを可変にするなど
This commit is contained in:
parent
d762a6ce58
commit
6ceff60c1e
5 changed files with 25 additions and 5 deletions
|
@ -69,6 +69,13 @@ export const meta = {
|
|||
}
|
||||
},
|
||||
|
||||
iconUrl: {
|
||||
validator: $.optional.nullable.str,
|
||||
desc: {
|
||||
'ja-JP': 'インスタンスのアイコンURL'
|
||||
}
|
||||
},
|
||||
|
||||
name: {
|
||||
validator: $.optional.nullable.str,
|
||||
desc: {
|
||||
|
@ -356,6 +363,10 @@ export default define(meta, async (ps) => {
|
|||
set.bannerUrl = ps.bannerUrl;
|
||||
}
|
||||
|
||||
if (ps.iconUrl !== undefined) {
|
||||
set.iconUrl = ps.iconUrl;
|
||||
}
|
||||
|
||||
if (ps.name !== undefined) {
|
||||
set.name = ps.name;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue