Yuki Takei 7 лет назад
Родитель
Сommit
116e47032e

+ 1 - 2
src/client/js/components/SavePageControls/GrantSelector.jsx

@@ -189,7 +189,6 @@ class GrantSelector extends React.Component {
     // add specified group option
     // add specified group option
     grantElems.push(
     grantElems.push(
       <option
       <option
-        ref="specifiedGroupOption"
         key="specifiedGroupKey"
         key="specifiedGroupKey"
         value={SPECIFIED_GROUP_VALUE}
         value={SPECIFIED_GROUP_VALUE}
         style={{ display: grantGroup ? 'inherit' : 'none' }}
         style={{ display: grantGroup ? 'inherit' : 'none' }}
@@ -209,7 +208,7 @@ class GrantSelector extends React.Component {
           bsClass={bsClassName}
           bsClass={bsClassName}
           className="btn-group-sm selectpicker"
           className="btn-group-sm selectpicker"
           onChange={this.changeGrantHandler}
           onChange={this.changeGrantHandler}
-          inputRef={(el) => { return this.grantSelectorInputEl = el }}
+          inputRef={(el) => { this.grantSelectorInputEl = el }}
         >
         >
 
 
           {grantElems}
           {grantElems}

+ 2 - 2
src/client/js/components/SlackNotification.jsx

@@ -56,8 +56,8 @@ export default class SlackNotification extends React.Component {
     return (
     return (
       <div className="input-group input-group-sm input-group-slack extended-setting">
       <div className="input-group input-group-sm input-group-slack extended-setting">
         <label className="input-group-addon">
         <label className="input-group-addon">
-          <img id="slack-mark-white" src="/images/icons/slack/mark-monochrome_white.svg" width="18" height="18" />
-          <img id="slack-mark-black" src="/images/icons/slack/mark-monochrome_black.svg" width="18" height="18" />
+          <img id="slack-mark-white" alt="slack-mark" src="/images/icons/slack/mark-monochrome_white.svg" width="18" height="18" />
+          <img id="slack-mark-black" alt="slack-mark" src="/images/icons/slack/mark-monochrome_black.svg" width="18" height="18" />
           <input type="checkbox" value="1" checked={this.state.isSlackEnabled} onChange={this.updateStateCheckbox} />
           <input type="checkbox" value="1" checked={this.state.isSlackEnabled} onChange={this.updateStateCheckbox} />
         </label>
         </label>
         <input
         <input