Skip to content

Commit

Permalink
Merge pull request #341 from rstudio/dotnomad/async-cleanup
Browse files Browse the repository at this point in the history
Remove unnecessary async in deployment store sets
  • Loading branch information
dotNomad authored Nov 27, 2023
2 parents a9a7930 + de9d083 commit ae794eb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions web/src/stores/deployment.ts
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ export const useDeploymentStore = defineStore('deployment', () => {

const account = computed<string>({
get: () => deployment.value?.target.accountName || '',
set: async(newName: string) => {
set: (newName: string) => {
// Update the deployment state immediately before sending to server
if (deployment.value) {
deployment.value.target.accountName = newName;
Expand All @@ -108,7 +108,7 @@ export const useDeploymentStore = defineStore('deployment', () => {
get: () => {
return deployment.value?.connect.content.title || '';
},
set: async(newTitle) => {
set: (newTitle) => {
// Update the deployment state immediately before sending to server
if (deployment.value) {
deployment.value.connect.content.title = newTitle;
Expand Down

0 comments on commit ae794eb

Please sign in to comment.