Skip to content

Commit 7e35ee3

Browse files
committed
ui: Update README.
1 parent 5c233e0 commit 7e35ee3

File tree

2 files changed

+14
-3
lines changed

2 files changed

+14
-3
lines changed

README.md

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,24 +41,31 @@ device-profiles that can be freely imported.
4141

4242
* Select a vendor in the left menu (if no vendor is selected).
4343
* Click _Profiles_ in the left menu.
44-
* Click the _Create profile_ button.
44+
* Click the _Add profile_ menu entry.
4545
* Fill in the form and click _Submit_.
4646

4747
### Add codec(s)
4848

4949
* Select a vendor in the left menu (if no vendor is selected).
5050
* Click _Codecs_ in the left menu.
51-
* Click the _Create codec_ button.
51+
* Click the _Add codec_ menu entry.
5252
* Fill in the form, before clicking _Submit_ it is a good idea to click _Run codec tests_.
5353

5454
### Add device(s)
5555

5656
* Select a vendor in the left menu (if no vendor is selected).
5757
* Click _Devices_ in the left menu.
58-
* Click the _Create device_ button.
58+
* Click the _Add device_ menu entry.
5959
* Fill in the form and add at least one firmware version by clicking the _Add firmware version_ button.
6060
* For each firmware version you can select one or multiple profiles and optionally a codec.
6161

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+
6269
### Create pull-request
6370

6471
Once you have added the vendor(s), profile(s), codec(s) and device(s) you wish

interface/ui/src/views/vendors/VendorForm.tsx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@ function VendorForm(props: IProps) {
1818
const [devices, setDevices] = useState<Device[]>([]);
1919

2020
useEffect(() => {
21+
if (!props.update) {
22+
return;
23+
}
24+
2125
const v = props.initialValues;
2226

2327
const req = new ListDevicesRequest();

0 commit comments

Comments
 (0)