[26543] Re-add removed timeEntryEditPath

[ci skip]
pull/6023/head
Oliver Günther 7 years ago
parent 097c5ec354
commit 446ad58231
No known key found for this signature in database
GPG Key ID: 88872239EB414F99
  1. 1
      app/views/timelog/_list.html.erb
  2. 4
      frontend/app/components/common/path-helper/path-helper.service.ts

@ -148,6 +148,5 @@ See doc/COPYRIGHT.rdoc for more details.
</tr> </tr>
</tbody> </tbody>
</table> </table>
</div> </div>
</div> </div>

@ -125,6 +125,10 @@ export class PathHelperService {
return this.staticBase + '/time_entries/' + timeEntryIdentifier; return this.staticBase + '/time_entries/' + timeEntryIdentifier;
} }
public timeEntryEditPath(timeEntryIdentifier:string) {
return this.timeEntryPath(timeEntryIdentifier) + '/edit';
}
public usersPath() { public usersPath() {
return this.staticBase + '/users'; return this.staticBase + '/users';
} }

Loading…
Cancel
Save