profile name sent with every table from now on

This commit is contained in:
Priec
2026-08-16 23:51:39 +02:00
parent c05c177624
commit 9b1e592ecd
11 changed files with 64 additions and 26 deletions

View File

@@ -63,6 +63,7 @@ pub(crate) fn linkable_tables(
#[cfg(test)]
pub(crate) mod tests {
use super::*;
use crate::pages::GLOBAL_SCOPE;
pub(crate) fn table(name: &str, global: bool) -> Table {
Table {
@@ -72,6 +73,11 @@ pub(crate) mod tests {
row_display_columns: Vec::new(),
table_kind: "dynamic".to_string(),
global,
profile_name: if global {
GLOBAL_SCOPE.to_string()
} else {
"test_profile".to_string()
},
}
}