File tree 2 files changed +14
-3
lines changed
interface/ui/src/views/vendors 2 files changed +14
-3
lines changed Original file line number Diff line number Diff line change @@ -41,24 +41,31 @@ device-profiles that can be freely imported.
41
41
42
42
* Select a vendor in the left menu (if no vendor is selected).
43
43
* Click _ Profiles_ in the left menu.
44
- * Click the _ Create profile_ button .
44
+ * Click the _ Add profile_ menu entry .
45
45
* Fill in the form and click _ Submit_ .
46
46
47
47
### Add codec(s)
48
48
49
49
* Select a vendor in the left menu (if no vendor is selected).
50
50
* Click _ Codecs_ in the left menu.
51
- * Click the _ Create codec_ button .
51
+ * Click the _ Add codec_ menu entry .
52
52
* Fill in the form, before clicking _ Submit_ it is a good idea to click _ Run codec tests_ .
53
53
54
54
### Add device(s)
55
55
56
56
* Select a vendor in the left menu (if no vendor is selected).
57
57
* Click _ Devices_ in the left menu.
58
- * Click the _ Create device_ button .
58
+ * Click the _ Add device_ menu entry .
59
59
* Fill in the form and add at least one firmware version by clicking the _ Add firmware version_ button.
60
60
* For each firmware version you can select one or multiple profiles and optionally a codec.
61
61
62
+ ### Update vendor
63
+
64
+ * Select a vendor in the left menu (if no vendor is selected).
65
+ * Click _ Update vendor_ in the left menu.
66
+ * Update the vendor by selecting the devices that you added in the previous step.
67
+ * Click _ Submit_ .
68
+
62
69
### Create pull-request
63
70
64
71
Once you have added the vendor(s), profile(s), codec(s) and device(s) you wish
Original file line number Diff line number Diff line change @@ -18,6 +18,10 @@ function VendorForm(props: IProps) {
18
18
const [ devices , setDevices ] = useState < Device [ ] > ( [ ] ) ;
19
19
20
20
useEffect ( ( ) => {
21
+ if ( ! props . update ) {
22
+ return ;
23
+ }
24
+
21
25
const v = props . initialValues ;
22
26
23
27
const req = new ListDevicesRequest ( ) ;
You can’t perform that action at this time.
0 commit comments