Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: db miss dbtype & update operation log #5315

Merged
merged 14 commits into from
Dec 30, 2024
Prev Previous commit
update
zjy365 committed Dec 28, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
commit b9c484beab15efe96355329dea226fa576157a3a
2 changes: 1 addition & 1 deletion frontend/providers/applaunchpad/src/utils/adapt.ts
Original file line number Diff line number Diff line change
@@ -413,7 +413,7 @@ export const sliderNumber2MarkList = ({
type: 'cpu' | 'memory';
gpuAmount?: number;
}) => {
const newVal = val.map((item) => item * gpuAmount);
const newVal = val.map((item) => item);

return newVal.map((item) => ({
label: type === 'memory' ? (item >= 1024 ? `${item / 1024} G` : `${item} M`) : `${item / 1000}`,