mirror of
https://github.com/fosrl/pangolin.git
synced 2025-08-23 02:38:22 +02:00
disable limited tier if already used
This commit is contained in:
parent
0dcfeb3587
commit
f37be774a6
4 changed files with 35 additions and 14 deletions
|
@ -32,12 +32,13 @@ export default async function RootLayout({
|
|||
|
||||
let supporterData = {
|
||||
visible: true
|
||||
};
|
||||
} as any;
|
||||
|
||||
const res = await priv.get<
|
||||
AxiosResponse<IsSupporterKeyVisibleResponse>
|
||||
>("supporter-key/visible");
|
||||
supporterData.visible = res.data.data.visible;
|
||||
supporterData.tier = res.data.data.tier;
|
||||
|
||||
const version = env.app.version;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue