fix: creating country

This commit is contained in:
Artemy 2024-05-30 09:49:56 +03:00
parent a3ea2a093c
commit 3f6e7fccb5

View file

@ -48,7 +48,7 @@ pub fn new(cmd: NewCommands) {
let layers = config["main"]["layers"].clone().into_value().unwrap(); let layers = config["main"]["layers"].clone().into_value().unwrap();
let layers = if let Value::Array(mut layers) = layers { let layers = if let Value::Array(mut layers) = layers {
layers.push(&id); layers.insert(0, &id);
layers layers
} else { } else {
panic!("layers is not an array"); panic!("layers is not an array");