Position and style the channel editor correctly
Fix a bug where some channel updates would be lost Add channel name sanitization before storing in the database
This commit is contained in:
@@ -221,6 +221,7 @@ pub struct CollabPanel {
|
||||
#[serde(flatten)]
|
||||
pub container: ContainerStyle,
|
||||
pub log_in_button: Interactive<ContainedText>,
|
||||
pub channel_editor: ContainerStyle,
|
||||
pub channel_hash: Icon,
|
||||
pub channel_modal: ChannelModal,
|
||||
pub user_query_editor: FieldEditor,
|
||||
@@ -885,6 +886,7 @@ impl<T> Toggleable<T> {
|
||||
pub fn active_state(&self) -> &T {
|
||||
self.in_state(true)
|
||||
}
|
||||
|
||||
pub fn inactive_state(&self) -> &T {
|
||||
self.in_state(false)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user