pm list: Remove obsolete user_circle_fraction class.

This commit is contained in:
Steve Howell
2022-01-28 13:39:32 +00:00
committed by Tim Abbott
parent 3d55a1a5bf
commit a9ea525757
3 changed files with 4 additions and 11 deletions

View File

@@ -93,7 +93,7 @@ test("build_private_messages_list", ({override}) => {
is_zero: false,
is_active: false,
url: "#narrow/pm-with/101,102-group",
user_circle_class: "user_circle_fraction",
user_circle_class: undefined,
is_group: true,
},
];
@@ -143,7 +143,7 @@ test("build_private_messages_list_bot", ({override}) => {
is_zero: false,
is_active: false,
url: "#narrow/pm-with/101,102-group",
user_circle_class: "user_circle_fraction",
user_circle_class: undefined,
is_group: true,
},
];

View File

@@ -76,9 +76,7 @@ export function _get_convos() {
let user_circle_class;
if (is_group) {
user_circle_class = "user_circle_fraction";
} else {
if (!is_group) {
const user_id = Number.parseInt(user_ids_string, 10);
user_circle_class = buddy_data.get_user_circle_class(user_id);
const recipient_user_obj = people.get_by_user_id(user_id);

View File

@@ -1,8 +1,7 @@
.user_circle_green,
.user_circle_orange,
.user_circle_empty,
.user_circle_empty_line,
.user_circle_fraction {
.user_circle_empty_line {
border-radius: 50%;
border: 1px solid;
float: left;
@@ -12,10 +11,6 @@
.user_circle_green {
background-color: hsl(106, 74%, 44%);
}
.user_circle_green,
.user_circle_fraction {
border-color: hsl(106, 74%, 44%);
}