Skip to content

Commit

Permalink
fix: Bump xsmall CPU and fix preload (#359)
Browse files Browse the repository at this point in the history
  • Loading branch information
Carson-Shaar authored Oct 27, 2024
1 parent 792bbff commit 551f6d2
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions zt_frontend/src/components/ShareComponent.vue
Original file line number Diff line number Diff line change
Expand Up @@ -112,15 +112,15 @@ const shareRequest: Ref<ShareRequest> = ref({
projectName: "",
apiKey: "",
teamName: "",
computeProfile: "X-Small (0.5 CPU, 2GB RAM)",
computeProfile: "X-Small (1 CPU, 2GB RAM)",
});
const valid: Ref<boolean> = ref(false);
const rules = {
required: (value: string) => !!value || "Required.",
};
const computeProfiles = ref([
"X-Small (0.5 CPU, 2GB RAM)",
"X-Small (1 CPU, 2GB RAM)",
"Small (1 CPU, 4GB RAM)",
"Medium (1.5 CPU, 8GB RAM)",
"Large (2 CPU, 16GB RAM)",
Expand Down Expand Up @@ -184,9 +184,13 @@ const submitShareRequest = async () => {
};
function loadValues() {
shareRequest.value.userName = props.userName;
if (props.teamName !== "") {
shareRequest.value.teamName = props.teamName;
}
else {
shareRequest.value.userName = props.userName;
}
shareRequest.value.projectName = props.projectName;
shareRequest.value.teamName = props.teamName;
}
function cleanUp() {
Expand Down

0 comments on commit 551f6d2

Please sign in to comment.