Add a new tab weight default value is wrong

Created on 22 August 2023, over 1 year ago
Updated 7 February 2024, 11 months ago

Problem/Motivation

Add a new tab weight default value is wrong, the default value is count of all tabs +1

Steps to reproduce

Create a blocktab
Add three views tabs A,B,C
Show row weights
Delete the tab A
check the weight after the Add new tab button, default value is wrong

Proposed resolution

Get the maximum value of the weight in the tabs, and set default value as maximum+1

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Needs review

Version

1.0

Component

Code

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024