dmencu 2.0.6 → 2.0.7

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.
@@ -117,7 +117,7 @@ window.addEventListener('load', ()=>{
117
117
  // /*
118
118
 
119
119
  type CommonAttributes = {className?:string,style?:React.CSSProperties,id?:string, tabIndex?:number} // CSSProperties
120
- type ColorValues = 'primary'|'secondary'|'default'|'inherit'
120
+ type ColorValues = 'primary'|'secondary'|'default'|'inherit'|'success'
121
121
 
122
122
  export type LibreDespliegueType = (props:{
123
123
  key:string
@@ -1922,6 +1922,7 @@ setDesplegarCarga((props:{
1922
1922
  var estructura = getEstructura();
1923
1923
  let cantLineasResumen = likeAr(informacionHdr).filter((informacion)=>informacion.tem.carga==idCarga).array().length;
1924
1924
  const dispatch = useDispatch();
1925
+ const modoDM:ModoDM = my.getLocalVar(MODO_DM_LOCALSTORAGE_KEY);
1925
1926
  return <Paper className="carga" style={{marginBottom: '10px', padding: '10px'}}>
1926
1927
  <div className="informacion-carga">
1927
1928
  <div className="carga">Área: {idCarga}</div>
@@ -1971,7 +1972,7 @@ setDesplegarCarga((props:{
1971
1972
  <TableCell colSpan={3}>
1972
1973
  <Button
1973
1974
  variant="contained"
1974
- color="primary"
1975
+ color={modoDM=="capa"?"success":"primary"}
1975
1976
  onClick={()=>
1976
1977
  crearEncuesta(idCarga,(forPkRaiz:ForPkRaiz)=>{
1977
1978
  dispatch(dispatchers.CAMBIAR_FORMULARIO({forPk:forPkRaiz, apilarVuelta:false}));