refactor: do not set default priority in isssues

This commit is contained in:
Saqib Ansari 2021-11-24 13:52:20 +05:30
parent cb52e6dd6b
commit 9047e2b9dd
2 changed files with 2 additions and 3 deletions

View File

@ -123,7 +123,6 @@
"search_index": 1
},
{
"default": "Medium",
"fieldname": "priority",
"fieldtype": "Link",
"in_list_view": 1,
@ -410,10 +409,11 @@
"icon": "fa fa-ticket",
"idx": 7,
"links": [],
"modified": "2021-06-10 03:22:27.098898",
"modified": "2021-11-24 13:13:10.276630",
"modified_by": "Administrator",
"module": "Support",
"name": "Issue",
"naming_rule": "By \"Naming Series\" field",
"owner": "Administrator",
"permissions": [
{

View File

@ -18,7 +18,6 @@ frappe.listview_settings['Issue'] = {
},
get_indicator: function(doc) {
if (doc.status === 'Open') {
if (!doc.priority) doc.priority = 'Medium';
const color = {
'Low': 'yellow',
'Medium': 'orange',