@plusscommunities/pluss-maintenance-app 1.1.1-beta.0 → 1.1.5-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
@@ -1,15 +1,16 @@
|
|
1
1
|
{
|
2
2
|
"name": "@plusscommunities/pluss-maintenance-app",
|
3
|
-
"version": "1.1.
|
3
|
+
"version": "1.1.5-beta.0",
|
4
4
|
"description": "Extension package to enable maintenance on Pluss Communities Platform",
|
5
5
|
"main": "src/index.js",
|
6
6
|
"scripts": {
|
7
|
+
"precore": "npm i @plusscommunities/pluss-core-app@beta",
|
7
8
|
"core": "npm i @plusscommunities/pluss-core-app@latest",
|
8
9
|
"prepatch": "npm version prepatch --preid=beta",
|
9
10
|
"patch": "npm version patch",
|
10
11
|
"preupload": "npm publish --access public --tag beta && rm -rf node_modules",
|
11
12
|
"preupload:p": "npm run prepatch && npm run preupload",
|
12
|
-
"preupload:cp": "npm run
|
13
|
+
"preupload:cp": "npm run precore && npm run preupload:p",
|
13
14
|
"upload": "npm publish --access public && rm -rf node_modules",
|
14
15
|
"upload:p": "npm run patch && npm run upload",
|
15
16
|
"upload:cp": "npm run core && npm run upload:p"
|
@@ -17,7 +18,7 @@
|
|
17
18
|
"author": "Phillip Suh",
|
18
19
|
"license": "ISC",
|
19
20
|
"dependencies": {
|
20
|
-
"@plusscommunities/pluss-core-app": "1.4.
|
21
|
+
"@plusscommunities/pluss-core-app": "^1.4.3-beta.0",
|
21
22
|
"axios": "^0.16.2",
|
22
23
|
"lodash": "^4.17.4",
|
23
24
|
"moment": "^2.18.1",
|
@@ -430,6 +430,7 @@ class RequestDetail extends Component {
|
|
430
430
|
scrollView={this.scrollView}
|
431
431
|
entityType="maintenancerequest"
|
432
432
|
entityId={this.props.job.id}
|
433
|
+
entityName={this.props.job.title}
|
433
434
|
site={this.state.job.site || this.state.job.location}
|
434
435
|
// noScroll={true}
|
435
436
|
// style={{ position: 'absolute', bottom: 0, left: 0, right: 0 }}
|
@@ -205,7 +205,7 @@ class MaintenanceRequest extends Component {
|
|
205
205
|
if (this.state.uploadingImage || this.state.submitting) {
|
206
206
|
return;
|
207
207
|
}
|
208
|
-
this.imageUploader.
|
208
|
+
this.imageUploader.showUploadMenu();
|
209
209
|
};
|
210
210
|
|
211
211
|
submit = async () => {
|