public override IDataValueEditor GetValueEditor(object configuration)
        {
            IDataValueEditor editor = base.GetValueEditor(configuration);

            if (editor is DataValueEditor dve)
            {
                dve.View += $"?v={_backOfficeHelper.GetCacheBuster()}";
            }

            return(editor);
        }
Esempio n. 2
0
        public override IDataValueEditor GetValueEditor(object configuration)
        {
            IDataValueEditor editor = base.GetValueEditor(configuration);

            if (editor is DataValueEditor dve)
            {
                dve.View     += $"?v={_backOfficeHelper.GetCacheBuster()}";
                dve.HideLabel = configuration is InboundRedirectsConfiguration {
                    HideLabel : true
                };
            }

            return(editor);
        }
    }