create-fff-app 0.1.6 → 0.1.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.
package/package.json
CHANGED
|
@@ -3,6 +3,7 @@ module App.Server.Endpoints.Pages.Routes
|
|
|
3
3
|
open FffStack.Server
|
|
4
4
|
open Fable.Core
|
|
5
5
|
open Fable.Core.JsInterop
|
|
6
|
+
open App.Server.Domain.Employees
|
|
6
7
|
open App.Server.Workflows.Employees
|
|
7
8
|
|
|
8
9
|
let private deptChoices (current: string) =
|
|
@@ -10,7 +11,7 @@ let private deptChoices (current: string) =
|
|
|
10
11
|
|> List.map (fun d -> createObj [ "value" ==> d; "isSelected" ==> (d = current) ])
|
|
11
12
|
|> List.toArray
|
|
12
13
|
|
|
13
|
-
let private employeeRow (emp:
|
|
14
|
+
let private employeeRow (emp: Employee) =
|
|
14
15
|
createObj [
|
|
15
16
|
"id" ==> emp.id
|
|
16
17
|
"name" ==> emp.name
|