Skip to content

Commit

Permalink
fix...?
Browse files Browse the repository at this point in the history
  • Loading branch information
caipira113 committed Dec 15, 2023
1 parent 13b98eb commit d3fbd0a
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 6 deletions.
6 changes: 6 additions & 0 deletions packages/cherrypick-js/src/autogen/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4728,8 +4728,11 @@ export type operations = {
infoImageUrl: string | null;
notFoundImageUrl: string | null;
iconUrl: string | null;
appleIconUrl: string | null;
app192IconUrl: string | null;
app512IconUrl: string | null;
app769IconUrl: string | null;
app1024IconUrl: string | null;
enableEmail: boolean;
enableServiceWorker: boolean;
translatorAvailable: boolean;
Expand Down Expand Up @@ -8898,8 +8901,11 @@ export type operations = {
infoImageUrl?: string | null;
notFoundImageUrl?: string | null;
iconUrl?: string | null;
appleIconUrl?: string | null;
app192IconUrl?: string | null;
app512IconUrl?: string | null;
app769IconUrl?: string | null;
app1024IconUrl?: string | null;
backgroundImageUrl?: string | null;
logoImageUrl?: string | null;
name?: string | null;
Expand Down
12 changes: 6 additions & 6 deletions packages/frontend/src/pages/admin/branding.vue
Original file line number Diff line number Diff line change
Expand Up @@ -157,11 +157,11 @@ const manifestJsonOverride = ref<string>('{}');
async function init() {
const meta = await os.api('admin/meta');
iconUrl.value = meta.iconUrl;
appleIconUrl = meta.appleIconUrl;
appleIconUrl.value = meta.appleIconUrl;
app192IconUrl.value = meta.app192IconUrl;
app512IconUrl.value = meta.app512IconUrl;
app769IconUrl = meta.app769IconUrl;
app1024IconUrl = meta.app1024IconUrl;
app769IconUrl.value = meta.app769IconUrl;
app1024IconUrl.value = meta.app1024IconUrl;
bannerUrl.value = meta.bannerUrl;
backgroundImageUrl.value = meta.backgroundImageUrl;
themeColor.value = meta.themeColor;
Expand All @@ -176,11 +176,11 @@ async function init() {
function save() {
os.apiWithDialog('admin/update-meta', {
iconUrl: iconUrl.value,
appleIconUrl,
appleIconUrl: appleIconUrl.value,
app192IconUrl: app192IconUrl.value,
app512IconUrl: app512IconUrl.value,
app769IconUrl,
app1024IconUrl,
app769IconUrl: app769IconUrl.value,
app1024IconUrl: app1024IconUrl.value,
bannerUrl: bannerUrl.value,
backgroundImageUrl: backgroundImageUrl.value,
themeColor: themeColor.value === '' ? null : themeColor.value,
Expand Down

0 comments on commit d3fbd0a

Please sign in to comment.