fix(management): toggle res enable status directive bug(which dont filter empty string)