Created
March 23, 2017 21:16
-
-
Save karn09/1e761236c32fde20a8fb0df4628ebd3f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<CollapsedRows> | |
<Row | |
field={'status'} | |
value={object.status} | |
object={'conversation'} | |
/> | |
<Row | |
field={'createdAt'} | |
value={object.createdAt} | |
object={'conversation'} | |
/> | |
<Row | |
field={'lastActivityAt'} | |
label="Updated At" | |
value={object.lastActivityAt} | |
object={'conversation'} | |
/> | |
{ _.get(object, ["assignedTeams"], []).indexOf("58333cf3da2b7d110024a8c2") > -1 ? <Row key="acctCategoryStr" field="acctCategoryStr" value={object.custom.acctCategoryStr} object="conversation"/> : null} | |
{ _.get(object, ["assignedTeams"], []).indexOf("583337f2ca58701100505d7d") > -1 ? <Row key="amCategoryStr" field="amCategoryStr" value={object.custom.amCategoryStr} object="conversation"/> : null} | |
{ _.get(object, ["assignedTeams"], []).indexOf("58333434da2b7d110024a4a4") > -1 ? <Row key="csCategoryStr" field="csCategoryStr" value={object.custom.csCategoryStr} object="conversation"/> : null} | |
{ _.get(object, ["assignedTeams"], []).indexOf("5833346dda2b7d110024a4bc") > -1 ? <Row key="dataEntryCategoryStr" field="dataEntryCategoryStr" value={object.custom.dataEntryCategoryStr} object="conversation"/> : null} | |
{ _.get(object, ["assignedTeams"], []).indexOf("58333d20ca58701100505fae") > -1 ? <Row key="listingMgmtCategoryStr" field="listingMgmtCategoryStr" value={object.custom.listingMgmtCategoryStr} object="conversation"/> : null} | |
{ _.get(object, ["assignedTeams"], []).indexOf("58333cebda2b7d110024a8be") > -1 ? <Row key="menuCategoryStr" field="menuCategoryStr" value={object.custom.menuCategoryStr} object="conversation"/> : null} | |
{ _.get(object, ["assignedTeams"], []).indexOf("58333cd6ca58701100505f8b") > -1 ? <Row key="opCategoryStr" field="opCategoryStr" value={object.custom.opCategoryStr} object="conversation"/> : null} | |
{ _.get(object, ["assignedTeams"], []).indexOf("58333d2ada2b7d110024a8ce") > -1 ? <Row key="productCategoryStr" field="productCategoryStr" value={object.custom.productCategoryStr} object="conversation"/> : null} | |
{ _.get(object, ["assignedTeams"], []).indexOf("58b9fd9118c9f511001813da") > -1 ? <Row key="qualityAssuranceStr" field="qualityAssuranceStr" value={object.custom.qualityAssuranceStr} object="conversation"/> : null} | |
{ _.get(object, ["assignedTeams"], []).indexOf("58333ce2ca58701100505f91") > -1 ? <Row key="salesCategoryStr" field="salesCategoryStr" value={object.custom.salesCategoryStr} object="conversation"/> : null} | |
{ _.get(object, ["assignedTeams"], []).indexOf("58333cf3da2b7d110024a8c2") < 0 && _.get(object, 'custom.acctCategoryStr' ) ? <Row style={background="grey"} key="readOnly" field="acctCategory" value={object.custom.acctCategoryStr} object="conversation"/> : null} | |
{ _.get(object, ["assignedTeams"], []).indexOf("583337f2ca58701100505d7d") < 0 && _.get(object, 'custom.amCategoryStr' ) ? <Row key="readOnly" field="amCategory" value={object.custom.amCategoryStr} object="conversation"/> : null} | |
{ _.get(object, ["assignedTeams"], []).indexOf("58333434da2b7d110024a4a4") < 0 && _.get(object, 'custom.csCategoryStr' ) ? <Row key="readOnly" field="csCategory" value={object.custom.csCategoryStr} object="conversation"/> : null} | |
{ _.get(object, ["assignedTeams"], []).indexOf("5833346dda2b7d110024a4bc") < 0 && _.get(object, 'custom.dataEntryCategoryStr' ) ? <Row style={background="grey"} key="readOnly" field="dataEntryCategory" value={object.custom.dataEntryCategoryStr} object="conversation"/> : null} | |
{ _.get(object, ["assignedTeams"], []).indexOf("58333d20ca58701100505fae") < 0 && _.get(object, 'custom.listingMgmtCategoryStr' ) ? <Row key="readOnly" field="listingMgmtCategory" value={object.custom.listingMgmtCategoryStr} object="conversation"/> : null} | |
{ _.get(object, ["assignedTeams"], []).indexOf("58333cebda2b7d110024a8be") < 0 && _.get(object, 'custom.menuCategoryStr' ) ? <Row key="readOnly" field="menuCategory" value={object.custom.menuCategoryStr} object="conversation"/> : null} | |
{ _.get(object, ["assignedTeams"], []).indexOf("58333cd6ca58701100505f8b") < 0 && _.get(object, 'custom.opCategoryStr' ) ? <Row key="readOnly" field="opCategory" value={object.custom.opCategoryStr} object="conversation"/> : null} | |
{ _.get(object, ["assignedTeams"], []).indexOf("58333d2ada2b7d110024a8ce") < 0 && _.get(object, 'custom.productCategoryStr' ) ? <Row key="readOnly" field="productCategory" value={object.custom.productCategoryStr} object="conversation"/> : null} | |
{ _.get(object, ["assignedTeams"], []).indexOf("58b9fd9118c9f511001813da") < 0 && _.get(object, 'custom.qualityAssuranceStr' ) ? <Row key="readOnly" field="qualityAssurance" value={object.custom.qualityAssuranceStr} object="conversation"/> : null} | |
{ _.get(object, ["assignedTeams"], []).indexOf("58333ce2ca58701100505f91") < 0 && _.get(object, 'custom.salesCategoryStr' ) ? <Row key="readOnly" field="salesCategory" value={object.custom.salesCategoryStr} object="conversation"/> : null} | |
</CollapsedRows> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment