Boris K 5 years ago
parent
commit
ed44a744b1
2 changed files with 3 additions and 4 deletions
  1. 2 3
      .idea/workspace.xml
  2. 1 1
      src/components/main/team.js

+ 2 - 3
.idea/workspace.xml

@@ -3,8 +3,7 @@
   <component name="ChangeListManager">
     <list default="true" id="a8a32a88-c432-4104-a927-0d3d1c1c21be" name="Default Changelist" comment="">
       <change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
-      <change beforePath="$PROJECT_DIR$/src/components/Footer.js" beforeDir="false" afterPath="$PROJECT_DIR$/src/components/Footer.js" afterDir="false" />
-      <change beforePath="$PROJECT_DIR$/src/components/appointment/Appointment.js" beforeDir="false" afterPath="$PROJECT_DIR$/src/components/appointment/Appointment.js" afterDir="false" />
+      <change beforePath="$PROJECT_DIR$/src/components/main/team.js" beforeDir="false" afterPath="$PROJECT_DIR$/src/components/main/team.js" afterDir="false" />
     </list>
     <option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
     <option name="SHOW_DIALOG" value="false" />
@@ -73,7 +72,7 @@
       <option name="presentableId" value="Default" />
       <updated>1562445740358</updated>
       <workItem from="1562445741612" duration="45849000" />
-      <workItem from="1566302661790" duration="4145000" />
+      <workItem from="1566302661790" duration="4410000" />
     </task>
     <servers />
   </component>

+ 1 - 1
src/components/main/team.js

@@ -16,7 +16,7 @@ export default class Team extends React.Component {
                          <div className="item"  key = {el._id} >
                              <div className="photo">
                                 <img src= {el.photo} alt= {el.name}/>
-                                <Link to = {`/doctors/${el._id}`}>
+                                <Link to = {`/doctors/${el._id}/true`}>
                                     <div className="desc">
                                         <h3>{el.name}</h3>
                                         <p className="experience">Опыт работы {new Date().toISOString().split('T')[0].split('-')[0] - el.experience.split('T')[0].split('-')[0]} лет</p>