mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2026-10-19 08:00:46 +00:00
feat(terminal): add terminal button visibility setting (#13772)
This commit is contained in:
@@ -101,6 +101,7 @@ export namespace Setting {
|
||||
dashboardSimpleNodeVisible: string;
|
||||
}
|
||||
export interface TerminalInfo {
|
||||
showTerminalButton?: string;
|
||||
lineHeight: string;
|
||||
letterSpacing: string;
|
||||
fontSize: string;
|
||||
|
||||
@@ -126,7 +126,7 @@ export const getSettingBaseInfo = () => {
|
||||
export const getTerminalInfo = () => {
|
||||
return http.post<Setting.TerminalInfo>(`/core/settings/terminal/search`);
|
||||
};
|
||||
export const UpdateTerminalInfo = (param: Setting.TerminalInfo) => {
|
||||
export const UpdateTerminalInfo = (param: Partial<Setting.TerminalInfo>) => {
|
||||
return http.post(`/core/settings/terminal/update`, param);
|
||||
};
|
||||
export const getSystemAvailable = () => {
|
||||
|
||||
Reference in New Issue
Block a user