Skip to content

Commit

Permalink
fixing files
Browse files Browse the repository at this point in the history
  • Loading branch information
rodydavis committed Feb 1, 2022
1 parent 8691c30 commit 28614ea
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@ config.js
config.yaml

app/ts/config.ts
spec.json
5 changes: 4 additions & 1 deletion app/ts/specTabCtrl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -227,9 +227,12 @@ app.controller(
if (!result) return;
const json = JSON.parse(result as string);
const current = $scope.data;
// Copy id and persmissions
// Copy id,persmissions, group,groupHandle
json.id = current.id;
json.permissions = current.permissions;
json.group = current.group;
json.groupHandle = current.groupHandle;
// json.title = current.title;
$scope.data = json;
$scope.spec = $scope.data.spec;
$scope.refreshCanvas();
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@
"ts": "tsc",
"ts:watch": "tsc --watch",
"server": "sudo dev_appserver.py .",
"prestart": "sudo gcloud components update --version 359.0.0 && npm run ts",
"build": "npm run ts",
"prestart": "sudo gcloud components update --version 359.0.0 && npm run build",
"start": "echo \"sudo starting Google AppEngine\"; npm run server",
"format": "prettier --config .prettierrc.json 'app/ts/*.ts' --write"
},
Expand Down

0 comments on commit 28614ea

Please sign in to comment.