From 29e8cd9b9e3f4d169f0587c663363c64d8d16a2f Mon Sep 17 00:00:00 2001 From: Jean-Yves <7360784+docjyJ@users.noreply.github.com> Date: Wed, 11 Sep 2024 20:54:09 +0200 Subject: [PATCH] fix len 255 --- src/pages/directory/domains/display.rs | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/src/pages/directory/domains/display.rs b/src/pages/directory/domains/display.rs index 67123a4..be351d8 100644 --- a/src/pages/directory/domains/display.rs +++ b/src/pages/directory/domains/display.rs @@ -3,10 +3,10 @@ * * SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-SEL */ - use leptos::*; use leptos_router::{use_navigate, use_params_map}; use serde::{Deserialize, Serialize}; +use std::ops::Add; use crate::{ components::{ @@ -53,15 +53,24 @@ fn format_zonefile(records: &Vec, domain: &str) -> String { }); formatted_records.iter().fold(String::new(), |acc, x| { - format!( - "{}{: